Jump to content
Ndemco

Two players in same house through same router, can't connect.

Recommended Posts

Im no expert, so one pc could be 2305 the next 2308 and so on?

 

Yep. Will need to be different numbers on each PC game. Since you have multiple PC's, something else I should note, it won't actually use the port you specify, it'll use +2, +3 of that. So you could technically specify -port=2304 and it'll end up using 2306, 2307. If you specify -port=2303, it'll conflict on port 2305 so don't do that. Skip at least 3 for every computer.

Im no expert, so one pc could be 2305 the next 2308 and so on?

Share this post


Link to post
Share on other sites

I added -port=2304 to my game launch  options and tried to go in... seems I can not connect to ant server now. 2nd pc is having same issue :( back to the drawing board  lol

Share this post


Link to post
Share on other sites

Maybe try a different number like 2308, since it uses 2302, 2304, 2305 by default. Otherwise no idea. Perhaps there is a conflict with your firewall/Antivirus etc and those ports need to be allowed through?

Share this post


Link to post
Share on other sites

I was having issues with my Dlink 655 router...updating firmware fixed it. Just a thought...most people forget to keep router firmware up to date.

Share this post


Link to post
Share on other sites

I was having issues with my Dlink 655 router...updating firmware fixed it. Just a thought...most people forget to keep router firmware up to date.

hmmm..

Share this post


Link to post
Share on other sites

I checked our IP's and they're both different. Do you think manually configuring our IP adresses would help?

 

It is this simple if they are not different you will get a duplicate IP error on the same network. If you are not getting that error you can be sure that DHCP is not handing out the same IP to two different PC's.

 

Manually configuring will have no effect or at least should not. The game will not know the difference or the internet considering it never sees the IP's you have on your internal devices.

 

Your router has your IP it faces the public internet. What you are using inside of your private network are private addresses from one of the private address ranges available for all of us to use in the world.

 

 

Do this:

 

attempt to log into two different servers at the same time, if that succeeds I would doubt that your PC your IP or connection are an issue. Even a 10meg connection should handle multiple instances of this game running over your network.

 

You may have a configuration issue in your router. But if others can successfully do this from the same network with only ONE external facing public IP then I would conclude what others here have based on the limited info you gave. You should check your router or possibly factory reset it after backing up your configuration then try again.

 

Are these wired or wireless connections? Sorry if you listed that already I didn't see it.

Share this post


Link to post
Share on other sites

hmmm..

 

I was having issues with my Dlink 655 router...updating firmware fixed it. Just a thought...most people forget to keep router firmware up to date.

 

Make sure you understand this process and do not do it randomly. Messing up a firmware update on most home routers especially if it loses power or stalls half way through can turn it into a brick. Do this only if you understand it. It is possible this is the cause but not the most likely scenario. I have some old out of date gear out in the world at various locations that are not up to date that never have these issues specifically.

Share this post


Link to post
Share on other sites

I added -port=2304 to my game launch  options and tried to go in... seems I can not connect to ant server now. 2nd pc is having same issue :( back to the drawing board  lol

 

This is not how port allocation works. sort of.

 

Does anyone know how the engine negotiates these connections on the back end?

 

you generate a port as needed when your private IP attempts to go outside your network. Gotta love NAT.

 

It is possible you may have to set up port forwarding because of what you are trying to do and specify a specific different high number port for each IP that your PC's currently have. Not to sure on this without knowing more but it is a possible.

 

 

Do these servers run with any rules to deny duplicate incoming IP's?

****************************************************************************************************

 

Just called a friend that plays this way.

 

He has zero issues with this and tested it just now.

 

 

Either server side issue at the moment on that server maybe, or an issue in your config at your end is a good guess.

Edited by IamDinner

Share this post


Link to post
Share on other sites

I've only had 1 linksys soft brick itself.Pain in the ass to unbrick..finally did tho luckly.

But absolutely make sure you understand what you are doing as IamDinner said. You can do more harm then good if you go willy nilly on it.

Share this post


Link to post
Share on other sites

This is not how port allocation works. sort of.

 

Does anyone know how the engine negotiates these connections on the back end?

 

you generate a port as needed when your private IP attempts to go outside your network. Gotta love NAT.

 

It is possible you may have to set up port forwarding because of what you are trying to do and specify a specific different high number port for each IP that your PC's currently have. Not to sure on this without knowing more but it is a possible.

 

 

Do these servers run with any rules to deny duplicate incoming IP's?

****************************************************************************************************

 

Just called a friend that plays this way.

 

He has zero issues with this and tested it just now.

 

 

Either server side issue at the moment on that server maybe, or an issue in your config at your end is a good guess.

 

Some people experience it others do not, depends how their specific router/NAT configuration is setup. Changing it works for most people. Not much info about it though other than the following on the BIS FAQ.

 

Default value of port is 2302, but you may change it by -port command line argument.
 
port   UDP (used for game)
port+1 UDP (used for server reporting)
port+3 UDP (used for VoN transmissions)
 
Following outgoing ports need to be open as well:
port UDP (used for game)
port+3 UDP (used for VoN transmissions)
 
Here is an explanation from someone on the BIS forums a few years back,
 
It's an issue with NAT translation. Basically, you've got 2 Arma clients on the same networking routing through the same public IP address. So even though they have 2 separate private IP's, 192.168.0.2 and 192.168.0.3, they're both using 2302, 2304, 2305 as the standard ports...even as outgoing. Most normal programs will generate a dynamic source port, Arma doesn't appear to do that. So when NAT tries to translate your outgoing connections, you're NAT firewall (192.168.0.1 and some public IP) can only support 1 or the other because (to overly simplify things), when you initiate an outgoing connection through a NAT router, it does this:
 
Private IP - 192.168.0.2
Private Port - 2502
Protocol: UDP
Public IP - 1.1.1.1 (or whatever public ip you're assigned)
Public Port - 2502
Protocol: UDP
 
And then it forwards your packet to the server. When the server replies, it'll reply to 1.1.1.1 on UDP port 2502. So if you have 2 computers that are trying to use that same IP and Port through the same NAT firewall, the packets will either get routed to one computer or the other computer...possibly both depending on your firewall. Depending on your NAT configuration and/or what router you're using, it could be more or less restrictive. 
 
To get around this, modify your ArmA2 shortcuts and add " -port=2350" to one of the computers. The number doesn't really matter, just as long as it's different from the other computers which will use 2302, 2304, 2305 by default. This will change the client port (though it's not documented) and allow you to connect to Internet servers. Well, at least it should ;-)

 

 

Share this post


Link to post
Share on other sites

I've only had 1 linksys soft brick itself.Pain in the ass to unbrick..finally did tho luckly.

But absolutely make sure you understand what you are doing as IamDinner said. You can do more harm then good if you go willy nilly on it.

Thx .. i was reading up on it and not sure that's something I wanna walk into lol ..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×