Page 1 of 1
Changing the IP of my server
Posted: Wed Aug 08, 2012 5:30 pm
by morbas
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?
Re: Changing the IP of my server
Posted: Wed Aug 08, 2012 5:37 pm
by whasf
Did you restart the servers after you updated the database?
Re: Changing the IP of my server
Posted: Wed Aug 08, 2012 5:46 pm
by morbas
I closed the server clients and restarted them, but to no avail. I ran the query, do I need to change server config?
Re: Changing the IP of my server
Posted: Wed Aug 08, 2012 8:13 pm
by PrBlahBlahtson
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.
Re: Changing the IP of my server
Posted: Thu Aug 09, 2012 12:27 pm
by morbas
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.
Re: Changing the IP of my server
Posted: Thu Aug 09, 2012 12:58 pm
by PrBlahBlahtson
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.
Re: Changing the IP of my server
Posted: Thu Aug 09, 2012 1:21 pm
by morbas
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.
Re: Changing the IP of my server
Posted: Thu Aug 09, 2012 4:51 pm
by PrBlahBlahtson
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.
Re: Changing the IP of my server
Posted: Fri Sep 21, 2012 12:15 pm
by Lyrium
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?