[Question] Connection (non-hamachi)

01/08/2012 05:55 spiga#1
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: [Only registered and activated users can see links. Click Here To Register...] 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:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

Plx Help me Guys!!
01/08/2012 08:12 pro4never#2
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: [Only registered and activated users can see links. Click Here To Register...] 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.
01/08/2012 10:29 -impulse-#3
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)
01/08/2012 19:44 spiga#4
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 :o??

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 :o??
01/08/2012 20:45 pro4never#5
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 :o??



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 :o??
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.
01/08/2012 23:31 spiga#6
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? :(
01/09/2012 03:45 sonofskeletor#7
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.
01/09/2012 10:37 spiga#8
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...
01/09/2012 11:51 sonofskeletor#9
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.
01/09/2012 14:34 spiga#10
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...
01/09/2012 17:03 pro4never#11
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 shit 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);
01/10/2012 10:38 sonofskeletor#12
Add me on msn when you get time, ill help u fix up your client/server, [Only registered and activated users can see links. Click Here To Register...]

@Pro4Never
Why is it when i used the loader for my clients, and sent it out to people, they were always bitching 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.
01/10/2012 10:58 I don't have a username#13
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 bitching 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.
01/10/2012 19:55 spiga#14
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:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
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...
01/11/2012 11:01 I don't have a username#15
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");