Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 03:40

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

Advertisement



[Question] Connection (non-hamachi)

Discussion on [Question] Connection (non-hamachi) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2007
Posts: 18
Received Thanks: 0
[Question] Connection (non-hamachi)

Hi guys, i have a server V5530 non-hamachi that im working on, this is kinda noob question but i couldnt find anywhere.
When i Host it with my Global IP Adress ppl can play it well, but i cant login, i had tried many ways, the only way to make my login possible is hosting by Hamachi IP. So, how do i host and play in global network???

BTW: i'm designing, you can check it out.


It seems i Can Only Play it with another people creating an hamachi network, if not i wont play when its on global ip and then wont when its in local of course . The weird thing is in my website it shows Online ok, everytime i host it in any IP (gobal, local, hamachi). My server adress is "$serveraddress='HAMACHI_IP';" at config.php.

ADITIONAL INFORMATION: Something i never realised until now, that its cheking for login OK, when password is wrong i get that 'Invalid Account ID or Password', but when i try to conect to right one gets to loading bar and its ever 'maintance'. I have tried many sources (mostly trinity based ones) and i can only connect when i host it local or hamachi ip...

Here are my ports forward:



Plx Help me Guys!!
spiga is offline  
Old 01/08/2012, 08:12   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by spiga View Post
Hi guys, i have a server V5530 non-hamachi that im working on, this is kinda noob question but i couldnt find anywhere.
When i Host it with my Global IP Adress ppl can play it well, but i cant login, i had tried many ways, the only way to make my login possible is hosting by Hamachi IP. So, how do i host and play in global network???

BTW: i'm designing, you can check it out.
Ensure all ports are forwarded correctly (sounds like they are if other people can connect using your external ip). If it won't let you connect still using external ip then I'd suggest having it forward local connections (192.168.x.x) to use the local ip of the machine hosting the server. That way people on the network don't have to try to connect through external connection. Should hopefully fix the issue.
pro4never is offline  
Old 01/08/2012, 10:29   #3
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Make sure you listen your server using IPAddress.Any or IPAddress.Parse("0.0.0.0") so it will listen on all possible ips you got at your disposal. If you don't have a router it shouldn't be a problem, people will be able to login otherwise you'll have to portforward.
If people can still login and you cant, change your client's server info's ip to localhost or even use yourself hamachi (others don't need to apparently)
-impulse- is offline  
Old 01/08/2012, 19:44   #4
 
elite*gold: 0
Join Date: Jan 2007
Posts: 18
Received Thanks: 0
Quote:
Originally Posted by -impulse- View Post
Make sure you listen your server using IPAddress.Any or IPAddress.Parse("0.0.0.0") so it will listen on all possible ips you got at your disposal. If you don't have a router it shouldn't be a problem, people will be able to login otherwise you'll have to portforward.
If people can still login and you cant, change your client's server info's ip to localhost or even use yourself hamachi (others don't need to apparently)
Maybe i should do that, but its online now by hamachi IP adress, hope anyone can test it, i only have a couple of friends that maybe will play. I have a question if i config to local adress like the other guy said ppl still can connect from any place ??

Quote:
Originally Posted by -impulse- View Post
Make sure you listen your server using IPAddress.Any or IPAddress.Parse("0.0.0.0") so it will listen on all possible ips you got at your disposal. If you don't have a router it shouldn't be a problem, people will be able to login otherwise you'll have to portforward.
If people can still login and you cant, change your client's server info's ip to localhost or even use yourself hamachi (others don't need to apparently)
Maybe i should do that, but its online now by hamachi IP adress, hope anyone can test it, i only have a couple of friends that maybe will play. I have a router and my modem ports are forward. I have a question if i config to local adress like the other guy said ppl still can connect from any place ??
spiga is offline  
Old 01/08/2012, 20:45   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by spiga View Post
Maybe i should do that, but its online now by hamachi IP adress, hope anyone can test it, i only have a couple of friends that maybe will play. I have a question if i config to local adress like the other guy said ppl still can connect from any place ??



Maybe i should do that, but its online now by hamachi IP adress, hope anyone can test it, i only have a couple of friends that maybe will play. I have a router and my modem ports are forward. I have a question if i config to local adress like the other guy said ppl still can connect from any place ??
As he said.. edit your loader, not the actual server settings. It causes your client to not try to go outside the router before connecting back to the server.

More importantly make sure the listener is listening on all ip addresses.
pro4never is offline  
Old 01/08/2012, 23:31   #6
 
elite*gold: 0
Join Date: Jan 2007
Posts: 18
Received Thanks: 0
Quote:
Originally Posted by pro4never View Post
As he said.. edit your loader, not the actual server settings. It causes your client to not try to go outside the router before connecting back to the server.

More importantly make sure the listener is listening on all ip addresses.
I really apreciate your help guys, im testing it right now, and tried many ways, my friends can play from my external ip adress, but i still cant connect, i coundnt understand that listener n listening sentence. You will problaby hate me, but ill ask you guys if someone can send me a link so i can learn more about it, i dont know if its some socketing problem in source keeping me from connecting thru localhost. Some enlighten plz?
spiga is offline  
Old 01/09/2012, 03:45   #7
 
elite*gold: 0
Join Date: Jul 2007
Posts: 200
Received Thanks: 31
If i remember correctly, when you connect to yourself the ip needs to be 127.0.0.1 ? im not exactly sure just an idea.
sonofskeletor is offline  
Old 01/09/2012, 10:37   #8
 
elite*gold: 0
Join Date: Jan 2007
Posts: 18
Received Thanks: 0
Quote:
Originally Posted by sonofskeletor View Post
If i remember correctly, when you connect to yourself the ip needs to be 127.0.0.1 ? im not exactly sure just an idea.
I have tried that and the other 3 IPs (hamachi, local and external) no one works for me, its rlly a weird situation, everyone can play but me, the hoster...
spiga is offline  
Old 01/09/2012, 11:51   #9
 
elite*gold: 0
Join Date: Jul 2007
Posts: 200
Received Thanks: 31
Mabey you cant, listen on port and use the same port at the same time, make sure u forwarded your ports correctly.

Umm quick question, with ANY of the ips are you getting a loading bar, or is it just BOOM: Server maintain ?

Make sure your firewall aint blocking the loader, that loader has a virus in it.

Quote:
I have tried that and the other 3 IPs (hamachi, local and external) no one works for me
Hamachi should have worked, its a client error, im assuming its the loader, your firewall is blocking it because it contains some sort of virus/crack.
sonofskeletor is offline  
Old 01/09/2012, 14:34   #10
 
elite*gold: 0
Join Date: Jan 2007
Posts: 18
Received Thanks: 0
Quote:
Originally Posted by sonofskeletor View Post
Mabey you cant, listen on port and use the same port at the same time, make sure u forwarded your ports correctly.

Umm quick question, with ANY of the ips are you getting a loading bar, or is it just BOOM: Server maintain ?

Make sure your firewall aint blocking the loader, that loader has a virus in it.


Hamachi should have worked, its a client error, im assuming its the loader, your firewall is blocking it because it contains some sort of virus/crack.
Thx for Help man, im getting Loading Bar when i try it by local IP (like 192.168... 127.0... and hamachi), when i try external IP (the IP im hosting it for other players) i dont get any loading, cause its external ;/... i dont have any firewall enabled, its weird the port is foward to everybody but me...
spiga is offline  
Old 01/09/2012, 17:03   #11
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by sonofskeletor View Post
Mabey you cant, listen on port and use the same port at the same time, make sure u forwarded your ports correctly.

Umm quick question, with ANY of the ips are you getting a loading bar, or is it just BOOM: Server maintain ?

Make sure your firewall aint blocking the loader, that loader has a virus in it.


Hamachi should have worked, its a client error, im assuming its the loader, your firewall is blocking it because it contains some sort of virus/crack.
Of course there's no virus in it! People need to stop making such ridiculous claims (I assume you're talking about coloader). Anti viruses tend to flag such programs as viruses because they behave suspiciously (they are hooking into a running process and modifying them... that's RATHER suspicious ahaha)

@ OP: I don't remember if anyone asked... what source are you using anyways? The only time I've heard of someone not being able to connect to their own server while hosting externally was using 5165 ncos. If that's the case I'd offer a mild slap for using such a **** source and then refer back to the 'make sure it's accepting all ip addresses' post from earlier.

What we're talking about has to do with the socket system itself. When you start listening on the various ports (login and game server) it would be using something like.. Listener.Bind(IPEndPoint); Listener.Listen(Backlog);

In this case you want to make sure your IPEndPoint is accepting all ip addresses...

In this example you'd want something like...
new IPEndPoint(IPAddress.Any, Port);
pro4never is offline  
Thanks
1 User
Old 01/10/2012, 10:38   #12
 
elite*gold: 0
Join Date: Jul 2007
Posts: 200
Received Thanks: 31
Add me on msn when you get time, ill help u fix up your client/server,

@Pro4Never
Why is it when i used the loader for my clients, and sent it out to people, they were always ******** that there firewalls deleted it, idc if it does or doesnt contain a virus, i know firewalls delete it i was just giving him advice, so wind ur neck in.
sonofskeletor is offline  
Old 01/10/2012, 10:58   #13
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Quote:
Originally Posted by sonofskeletor View Post
Why is it when i used the loader for my clients, and sent it out to people, they were always ******** that there firewalls deleted it, idc if it does or doesnt contain a virus, i know firewalls delete it i was just giving him advice, so wind ur neck in.
Because people have no clue how AV's work. You can't even trust virus scanners either as you can easy make your virus undetectable from AV's using a crypter then FUD it etc. Either way it has to do with that it's false positive, because as pro4never said it's hooking into another process, which is suspicious.
I don't have a username is offline  
Old 01/10/2012, 19:55   #14
 
elite*gold: 0
Join Date: Jan 2007
Posts: 18
Received Thanks: 0
Quote:
Originally Posted by -impulse- View Post
Make sure you listen your server using IPAddress.Any or IPAddress.Parse("0.0.0.0") so it will listen on all possible ips you got at your disposal. If you don't have a router it shouldn't be a problem, people will be able to login otherwise you'll have to portforward.
If people can still login and you cant, change your client's server info's ip to localhost or even use yourself hamachi (others don't need to apparently)
Here is my dilema:
Quote:

As You can see TCP is forward in IPAddress.Parse but UDP dont.
Ppl still can connect and i dont, even by hamachi... How do i make the server use this IPAddress.Parse ??

ADITIONAL INFORMATION: Something i never realised until now, that its cheking for login OK, when password is wrong i get that 'Invalid Account ID or Password', but when i try to conect to right one gets to loading bar and its ever 'maintance'. I have tried many sources (mostly trinity based ones) and i can only connect when i host it local or hamachi ip...
spiga is offline  
Old 01/11/2012, 11:01   #15
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Quote:
Originally Posted by spiga View Post
Here is my dilema:

As You can see TCP is forward in IPAddress.Parse but UDP dont.
Ppl still can connect and i dont, even by hamachi... How do i make the server use this IPAddress.Parse ??

ADITIONAL INFORMATION: Something i never realised until now, that its cheking for login OK, when password is wrong i get that 'Invalid Account ID or Password', but when i try to conect to right one gets to loading bar and its ever 'maintance'. I have tried many sources (mostly trinity based ones) and i can only connect when i host it local or hamachi ip...
IPAddress.Parse("IPADDRESS HERE");
I don't have a username is offline  
Reply


Similar Threads Similar Threads
[Question]Connection Probleme !
05/17/2011 - Metin2 Private Server - 2 Replies
Hey, ich habe grade meinen Server zum laufen gebracht. Soweit ist alles gut. Ich kann connecten und auch sonst läuft alles. Jedoch kann NUR ich connecten. Die Member können zwar connecten, bekommen aber kick nachdem sie ihren Charakter ausgewählt haben. Habe alles versucht. Hier ein Screenshot von Portmap: http://img543.imageshack.us/img543/9530/portmap.j pg
[Question]Connection Probleme !
05/15/2011 - Metin2 - 2 Replies
Hey, ich habe grade meinen Server zum laufen gebracht. Soweit ist alles gut. Ich kann connecten und auch sonst läuft alles. Jedoch kann NUR ich connecten. Die Member können zwar connecten, bekommen aber kick nachdem sie ihren Charakter ausgewählt haben. Habe alles versucht. Hier ein Screenshot von Portmap: http://img543.imageshack.us/img543/9530/portmap.j pg
[Question]Pserver connection failed
09/26/2010 - Metin2 Private Server - 2 Replies
Hallo, Mein problem ist das ich nicht mit navicat auf meinenmetin2 hamachi server zugreifen kann. Wenn ich root eingebe dann passwort mcncc.com kommt die fehlermeldung : Acces dnied 1050 for user @root *id* server password yes.. Was kann man da machen oder habe ich was falsches bei virtual pc gemacht. Aber bei virtual pc steht 5 mal operation timed out.... Und ein 6. mal kommt niccht also liegts wohl nicht daran. Und auf den server einloggen geht auch nciht!!
[Question]The connection with the server as ben terminated
05/13/2010 - S4 League - 8 Replies
Hello Elitepvpers.When i start S4League in looby i got this message,with hack,without hack,with a new account...All time,its possible they ban ip?
[How To] Auf Hamachi Connection
10/16/2009 - Main - 5 Replies
Hallo Diesmal zeige ich euch wie man sich in Hamachi einloggt, dies soll nur ein Für Leute die Garnicht wissen wie man sich einloggt=) So, 1. Man downloadet sich Hamachi -> Klick Hier 2. Nachdem Downloadn, Installiert ihr Hamachi .... C:/User/Programme/Hamachi (oder halt wo ihr es Installiert habt) 3. Öffnet man Hamachi



All times are GMT +1. The time now is 03:42.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.