Can't connect to loginserver.

10/12/2011 20:41 Ultimatebow#1
Well here is the problem. I forwarded ports on my router and disabled my Windows Firewall.

If i use localhost/127.0.0.1 settings i can play but its not public so i tried to enter my IPs. When i open the 3 CMDs loginserver and chatserver finish correctly. Gameserver cmd has this error:

-Connecting to loginserver: /109.242.29.11:9014
-Cant connect to loginserver: connection refused.

i though that maybe i set wrong IP but whenever i search on [Only registered and activated users can see links. Click Here To Register...] the IP is right. dunno what to do :(
10/13/2011 09:31 topazee#2
Hello Screen error please :)
10/13/2011 11:07 x-AcT#3
your router blocks incoming connections over that port.
maybe just use hamachi for setting up a public server.. mostly the easiest way
10/13/2011 11:53 Ultimatebow#4
Quote:
Originally Posted by x-AcT View Post
your router blocks incoming connections over that port.
maybe just use hamachi for setting up a public server.. mostly the easiest way
Im kinda newbie i ve never used hamachi before...can u explain how to use it pls?
10/13/2011 15:41 x-AcT#5
you gonna find enough examples in net. pls google. i can give you just a short summary:

- Downloading hamachi
- Replacing Ip in gameserver config with your hamachi-ip (mostly start's with 5.xx)
- try to connect from remote over the hamachiip + loginserverport

note: it can not be bad to disable your firewall for that
10/13/2011 16:01 Ultimatebow#6
Quote:
Originally Posted by x-AcT View Post
you gonna find enough examples in net. pls google. i can give you just a short summary:

- Downloading hamachi
- Replacing Ip in gameserver config with your hamachi-ip (mostly start's with 5.xx)
- try to connect from remote over the hamachiip + loginserverport

note: it can not be bad to disable your firewall for that
I gotta replace it on both iponfig.xml ,default and MySQL?

my hamachi IP: 5.98.86.101
I did replaced it on MySQL (loginserver database), ipconfig.xml and on Default file. Ran the CMDs and i get this error:

-Connecting to LoginServer: / 5.98.86.101:9014
-Cant connect to LoginServer: Connection Timed out.
10/13/2011 16:33 x-AcT#7
replace 5.98.86.101 in default.config with 127.0.0.1, since there is no need to have an remote access, but anyway.. this should have worked too. have you disabled your firewall?

edit: if you change the default.config you also need to replace the mask in loginserver database again.
10/13/2011 17:17 Ultimatebow#8
Quote:
Originally Posted by x-AcT View Post
replace 5.98.86.101 in default.config with 127.0.0.1, since there is no need to have an remote access, but anyway.. this should have worked too. have you disabled your firewall?

edit: if you change the default.config you also need to replace the mask in loginserver database again.
"replace 5.98.86.101 in default.config with 127.0.0.1". Do u mean in the ipconfig.xml? On default.config its normally set on localhost:9014. should i changed it too?

All i ve done till now is...
Disable Firewall.
Ipconfig.xml - Replace 127.0.0.1 with Hamachi IP
Default.config - localhost:9014 -> Hamachi IP:9014
Navicat MySQL - Change LS Mask with Hamachi IP

and i get the error i said before. Did i do anything wrong?:P
i know im being troublesome but i m kinda beginner on this.
thx in advance
10/13/2011 19:15 x-AcT#9
Quote:
Originally Posted by Ultimatebow View Post
"replace 5.98.86.101 in default.config with 127.0.0.1". Do u mean in the ipconfig.xml? On default.config its normally set on localhost:9014. should i changed it too?
öhm.... see your next part...

Quote:
Originally Posted by Ultimatebow View Post
All i ve done till now is...
Disable Firewall.
Ipconfig.xml - Replace 127.0.0.1 with Hamachi IP
Default.config - localhost:9014 -> Hamachi IP:9014
Navicat MySQL - Change LS Mask with Hamachi IP
so think about my post again?
10/13/2011 19:29 Ultimatebow#10
I dont seem to get what u want to say :(
Do u have skype or sth?:D

Edit; i replace default.config and LS on Navicat IPs with Hamachi.
Ipconfig.xml should still be 127.0.0.1?

it could really be helpful if u could help thro skype or maybe even from teamviewer. i really need help on that
10/14/2011 09:24 x-AcT#11
no the ipconfig needs to be the remote address, so the hamachi address
But in the default.config and in database you need to add localhost (127.0.0.1) cause gs and ls are running on the same machine
10/14/2011 16:35 Ultimatebow#12
ehm did that.
last question i guess.
The ip in my batch file (launcher) should be the hamachi IP?
10/14/2011 18:20 x-AcT#13
right

in your own 127.0.0.1 is okay (maybe even needed) but on remote pcs it need's to be hamachi ip.

one last thing: ofcourse everybody who's supposed to join your server needs to be connected to your hamachi network