Jump to content
mmzn

Can't connect to servers with the same ip

Recommended Posts

My brother and I try to play at same servers but we cant, either I receive a message saying an error happen or I can connect but he get kicked/dropped from server.

=(

Playing in different servers works fine. But we want to play together for obvious reasons.

 

No one having this issue?? Please help.

Share this post


Link to post
Share on other sites

I'm not sure if this command even works with DayZ but try putting -port=25007 into your DayZ launch options on one of the PC's. Right click on DayZ > General >  Set launch options.

Edited by SmashT

Share this post


Link to post
Share on other sites

I'm not sure if this command even works with DayZ but try putting -port=25007 into your DayZ launch options on one of the PC's. Right click on DayZ > General >  Set launch options.

 

Thank you, I did a quick test now and worked fine, as long as this command works I think we will be fine.

 

Would you mind explain whats about this command and all?

Share this post


Link to post
Share on other sites

Thank you, I did a quick test now and worked fine, as long as this command works I think we will be fine.

 

Would you mind explain whats about this command and all?

 

This will change the client port. The number doesn't really matter as long as they are different to the default ports the other PC is using for DayZ.

 

Basically, it's an issue with NAT translation. You've got two DayZ clients on the same network routing through the same public IP address. Even though they have 2 separate private IP's, 192.168.0.2 and 192.168.0.3, they're both using the same standard ports... Most programs will generate a dynamic source port, DayZ and ArmA don'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 one or the other  

 

When you initiate an outgoing connection through a NAT router, it essentially 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. 
Edited by SmashT
  • Like 1

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

×