Odd Server port

10/05/2012 06:27 wtvelocity#1
Ok, So I got most of my problems with my server sorted out, and it connects thru my WAN IP, as it's supposed to.
I had to do a HELL of a lot of working with my router to get it to work
(including the installing of custom firmware into it).

Needless to say, I went through all of the config files you're due to change
(The one in AccServer, as well as the 2 in MsgServer and ProShell'd it).

I went through each of them as I was, and added the ports to my firewall.
I couldn't connect with my client over the WAN still, so I double-checked the ports, and even checked to see if they were open at "canyouseeme.org".

3 of the 4 ports I saw (besides MySQL) in the files, those ports being
5816, 9865, and 9958 checked out as open and good.
However, port 8653 said "connection refused".

This is in the Shell.ini file, at the bottom:
Code:
[InternetPort]
MASTER_IP	= 24.112.38.58
MASTER_PORT	= 8653
and I saw no other occurrences of it, so it this a mistake?

If not, why else could I be having my connections refused from WAN but not LAN? Like I said, I put all of those ports in for forward, are there any others?
10/06/2012 02:02 Timore[PM]#2
Provide more information on it.
Type of Router.
Make sure you have your ports actually open in your personal firewall also.
10/11/2012 14:34 hio77#3
as for your client connecting, ild look into loopbacking... are you able to connect from another connection?

port 8653 is really not used.. i haven't looked into it so much since it doesn't affect my project..

port 5816 and 9958 are the ones you want to worry about, from memory, 9865 is used for msg server to acc server communications.


custom firmware ild assume you installed due to a modem not supporting loopback?


when i ran servers, i had port 5816-5817, 9958, 8765 and 3306.

8765 was used for management, 3306 purely because the effort of changing ports there i couldn't be bothered with - firewall lockdown on accessing ips.

and 9958 for acc server, port 5816, 5817 were used for msg servers, beginning with running zero and eo, then it progressed to test server and production server.



my setup was rather extreme some could say, but i knew exactly what i was up to..


as for the connecting itself, what error are you getting, have you tried using your local ip and checking the outcome of that, does it proceed past the acc server and get stopped while trying to get to the game server?
10/17/2012 15:29 PowerChaos#4
why do you not do it differend ??

safe all the trouble and look for DMZ in your router
DMZ is a button that can bind to 1 single WAN ip and opens ALL ports and prevent the router from intercepting anything , so LAN and internet can acces your ip then

basicly it even forwards the external ip to your internal ip
that means that your pc need to run a firewall if you want to block ports , but that is easyer then trying to configure a router on a WAN

then for the ports
only 2 ports need to be open in the firewall

Account Server port 9958
Message Server Port 5816

other ports are not needed as it is for internal communication (like npc to message server)
port 9958 get used to authenticate your username/pass and port 5816 get forwarded to the message server from the account server and depeding on your setup skills you can even proxy that part over a VPN or local so that port does not need to be open eather (is for multi server setup ^^ )

so if you are skilled enouf then only port 9958 need to be open to authenticate
else port 9958 and port 5816 need to be open


Greetings From PowerChaos