your logic is correct. if you have two machines that share a public internet IP address, each must use a unique port.Frisxo said:KayEss
Don't think my router has a bug. After thinking about it (instead of panic-ing) I think the problem is the conflict with port 2056.
My friend's server communicates w/my laptop (my Civ4 client) on port 2056 and my desktop (server) is listening on port 2056. So when my friend's server sends packets to me on port 2056 my router doesn't know who to send them to; my laptop or my server (because both are listening on port 2056).
Is that logic sound?
I think the dif port number is probably the easiest workaround (instead of opening/closing port 2056 all the time). I could set my server to port 2057. The only issue will be that when i play turns in my friend's game my client (laptop) will have to use 2056. When i play turns on MY server I'll need to change my laptop to use 2057. Yuk.
Any other ideas?
however, you don't need to change your ports based on who's hosting the game (you or your friend). if you set up your pitboss server at 2056, and change your laptop to 2057, then set up a forwarding rule so that 2056 goes to your desktop, and 2057 goes to your laptop, then everything will just work. when your friend wants to connect to your server, he'll connect to your ip address and the default port of 2056 will go to your server. when you want to connect to his server, go ahead and connect; when his server sees you coming in from port 2057, it will send its replies back to 2057, which your router will forward to your laptop.
you could even host games on your laptop, if for some reason you don't want to use pitboss that day -- then just have your friend connect to your ip address as usual, but have him append ":2057" (without the quotes) onto the end of your ip address.
-ken