Getting SYN_SENT from the client machine

01/27/2016 08:24 huudai2003#1
Hi everyone,

I decided to make a small server just for myself.

I believe I did something wrong that the server doesn't reply to my client machine.

Every config file I was just left it like what it is. All the IPs are in localhost (127.0.0.1)

ACCServer, GameServer and NPC seem to run just fine:

ACCServer:

server start...
kernel init ok.
framework ok.
WorldLord(127.0.0.1) login succeed.
add info of server WorldLord, ip:127.0.0.1, port:5816
WorldLord login assure.

GameServer:

23:14:24¡¾Connect to account server again...¡¿
23:14:25¡¾Account server login OK¡£¡¿

NPCServer:

¡¾Login game server ok.¡¿
¡¾Login OK. generator monster after 10 secs¡¿
¡¾Generator begin.¡¿

And then when I check netstat: All I get is SYN_SENT

So, I check my port: 5818, 5816, 9865 they are opened.

Then, I check my database on server, it is online.

Back to my client, I check the firewall and it seem to be allowed ZeroOnline.exe

What did I miss here? Why does my server do not reply to my packet?

Thanks in advance.
01/28/2016 00:21 idlemonkey#2
loginlisten port is 9958 ..... not 5818 thats a failover port for gameserver listen...

the client cant communicate with the accserver at all the way you have it setup
01/28/2016 09:00 huudai2003#3
Quote:
Originally Posted by idlemonkey View Post
loginlisten port is 9958 ..... not 5818 thats a failover port for gameserver listen...

the client cant communicate with the accserver at all the way you have it setup
So follow your post, i was able to close port 5818 and open 9958.
Change the worlds.dat inside Zero folder to my cloud IPv4
Add the following ports (9958 9865) into Allow zone.

But like you already state: the client cant communicate with the ACCServer at all.

Account.ini
HTML Code:
[Account1]
SERVERNAME=WorldLord
LOGINNAME=test
PASSWORD=test
FREE_DEBUG=3
Config.ini
HTML Code:
[System]
LOGINLISTENPORT	= 9958
POINTLISTENPORT = 9865
SERVER_FULL_DELAY_SECS	= 5000
SERVER_BUSY_DELAY_SECS	= 3000
SERVER_TITLE = WorldLord
What file should I look at to change to my Server IP address?

This is what I have
[Only registered and activated users can see links. Click Here To Register...]
01/28/2016 09:58 idlemonkey#4
why dont you actually read and follow the instructions in any one of the setup guides on here before you start asking questions about things that are already addressed in these guides, its redundant
01/29/2016 06:49 huudai2003#5
So I opened all the ports and some how the client tells me that "The Server is down".

I am really happy right now that the client is talking to the server.

I just have to fix something here.

Yeah here are all the ports that server needs to open:

HTML Code:
9958
9951
9865
8653
5816
5818
5601
Anyway, I still need to fix something here.

I got it to work.

I think that something may goes wrong with my own client

So I went back and change worlds.dat (because I read a post from idlemonkey that I need to be careful with NULL character)

:D I thought NULL and "." are the same.

So I went in and changed them "." back to NULL.

And it works now :D
01/29/2016 07:49 SoullessKiller#6
Quote:
Originally Posted by huudai2003 View Post
So I opened all the ports and some how the client tells me that "The Server is down".

I am really happy right now that the client is talking to the server.

I just have to fix something here.

Yeah here are all the ports that server needs to open:

HTML Code:
9958
9951
9865
8653
5816
5818
5601
Anyway, I still need to fix something here.

I got it to work.

I think that something may goes wrong with my own client

So I went back and change worlds.dat (because I read a post from idlemonkey that I need to be careful with NULL character)

:D I thought NULL and "." are the same.

So I went in and changed them "." back to NULL.

And it works now :D
False you don't need to open ports
9951, 5818, 5601
01/29/2016 07:57 huudai2003#7
Quote:
Originally Posted by SoullessKiller View Post
False you don't need to open ports
9951, 5818, 5601
My server talks to each other through my own IP i think
01/29/2016 08:03 SoullessKiller#8
Quote:
Originally Posted by huudai2003 View Post
My server talks to each other through my own IP i think
They do but I am just letting you know those Ports are not required to be open in your firewall.
01/29/2016 09:42 huudai2003#9
Quote:
Originally Posted by SoullessKiller View Post
They do but I am just letting you know those Ports are not required to be open in your firewall.
The server runs quite smoothly and fun to change things up.

I believe I will try to change from MySQL 1.4 to MySQL 5