Changing the IP of my server
Changing the IP of my server
I made a server using the 127.0.0.1 settings, but now I want to change my server settings so others may log on, I ran a query on navicat to change my IP address, but it still isn't allowing people to connect that way, I can still get on with the client on the host machine, but my other machine is returning an error stating there is no server at that address.
Any thoughts?
Any thoughts?
Re: Changing the IP of my server
Did you restart the servers after you updated the database?
-- Whasf
Re: Changing the IP of my server
I closed the server clients and restarted them, but to no avail. I ran the query, do I need to change server config?
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Changing the IP of my server
Take it one step at a time.
What IP address did you set as your zoneip? It should be the same IP address you get from whatismyip.com. If it starts with 192, 127, or 10, odds are you're using the wrong one.
Can you connect to the server yourself? This means that the server is listening, at least.
Did you open ports in your router and/or the computer's firewall that the server is running on? That would be important. If you don't open ports, it means computers behind the router can make calls out, but no one can call in to the computers behind the router (like your server.)
There shouldn't really be any IP addresses in the .CONF files that you have to change. Leaving the SQL server configured as 127.0.0.1 is fine.
What IP address did you set as your zoneip? It should be the same IP address you get from whatismyip.com. If it starts with 192, 127, or 10, odds are you're using the wrong one.
Can you connect to the server yourself? This means that the server is listening, at least.
Did you open ports in your router and/or the computer's firewall that the server is running on? That would be important. If you don't open ports, it means computers behind the router can make calls out, but no one can call in to the computers behind the router (like your server.)
There shouldn't really be any IP addresses in the .CONF files that you have to change. Leaving the SQL server configured as 127.0.0.1 is fine.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: Changing the IP of my server
my zoneip is the same as the whatsmyip site, I am able to connect to my own, and I haven't opened the ports yet (Haven't checked which ones yet.) but I am not sure if that should matter since both machines are on my home network :/ I will try opening them though.
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Changing the IP of my server
If the computer is firewalled, it would matter. But if they're both behind the same router, that shouldn't be an issue. If you're only running it behind the router, and not allowing connections from outside, then that's the one time that using your internal IP address for the zoneip will work better, actually. Sorry I didn't check that beforehand.
If you're unsure how to check that, then use Start -> Run -> cmd, and then in the command window type ipconfig and press enter. That should straighten it out.
If you're unsure how to check that, then use Start -> Run -> cmd, and then in the command window type ipconfig and press enter. That should straighten it out.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: Changing the IP of my server
So, I forwarded the ports and i can connect, but my search server is not working now, I don't know which port to forward for it.
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Changing the IP of my server
If it doesn't work for anyone, you might try checking the search_server.conf to make sure that the username/password is correct. mysql_host as 127.0.0.1 is perfectly safe, and the computer should have no issue connecting to itself on 3306, so that doesn't need to be forwarded.
Failing that, netstat -ab says that DSSearch-server is listening on port 54002 by default. The wiki doesn't mention that, so you may need to add that forward first.
Failing that, netstat -ab says that DSSearch-server is listening on port 54002 by default. The wiki doesn't mention that, so you may need to add that forward first.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: Changing the IP of my server
I have a similar problem to the one stated in the original post. I followed the wiki guide and opened up the ports specified, but aside from my host machine the server cannot be found. The servip in the launcher on the outside computer was changed to the ip address attained from whatismyip.com on the host machine. What should I try next?