Register for your free account! | Forgot your password?

You last visited: Today at 18:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Port/Socket Problem

Discussion on Port/Socket Problem within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
Port/Socket Problem

I'm working on my private server and when i need to host it i am having the following issue:
-using local ip works smoothly no client errors,log-in on all servers using conquer loader or any other 5670+ patch loader(csv3config file for settings)
When i am using an external IP and try to connect to it from other place across internet with the portforwarding corrctly set up(Ports checked using most port checking tools they are open,as the website is up and accessible) i get the failed to connect to gameserver error, if i switch gameport to auth port i get log-in freeze, on other ports same error, using conquer loader v5 i get invalid account or password error, i have tried on several computers/routers same errors all the time.
Ports are not blocked by any firewall, as they are added to the exeptions and all stuff.
Where should i try to look for the root of this problem?
mujake is offline  
Old 01/17/2013, 21:32   #2
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
what IP do you send to the client when it is in the auth stage? namely what IP do you tell the client to use to connect to the game server?
-impulse- is offline  
Old 01/18/2013, 05:46   #3
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
the client connects with the external IP,and the source is set to the local ip 192....i saw in netstat -n in cmd that the ports are open, but they have no IP assigned to them .in the auth stage there is no reference to an particular ip as on local it connects you
mujake is offline  
Old 01/18/2013, 11:16   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
no man. when a client connects you must send them the global IP again, not the 192.
When you bind the socket use 0.0.0.0 (it will use all available IPs), then set the ip in your configuration file to your global one...

When a client connects and you send him back the ip 192... it will try to connect in his own local network (in case he has one) otherwise it will say that the game server is not accessible.
-impulse- is offline  
Reply


Similar Threads Similar Threads
socket_read() [function.socket-read]: unable to read from socket [0] - Problem
03/10/2012 - Web Development - 0 Replies
Thema gelöst ; )
Socket Problem
01/20/2012 - CO2 Private Server - 2 Replies
Fixed lol, well this can be closed.
Port/Socket Error
01/11/2012 - CO2 Private Server - 4 Replies
Alright, pretty sure this is the right place to post this. I have decided to fool around with CO PServers as all I have ever coded and messed with is Java. I have touched a little bit into C# before but nothing major. But this is besides the point, actually I am fairly certain this has nothing to do with the coding of the server (oddly enough?). Basically I have the ports 9958/5816 forwarded, added exceptions in firewall (inbound and outbound) and even tried cutting off the firewall, yet...



All times are GMT +2. The time now is 18:09.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.