A simple networking question
Members - Reputation: 162
Posted 15 October 2012 - 09:40 AM
When my client computer attempts to connect to a server, I'm assuming it has picked a port to tell the server it can use to communicate back. Is this a standard port or a random one?
Moderators - Reputation: 14934
Posted 15 October 2012 - 10:47 AM
Generally apps that connect to the server don't care about the outbound port and let the system use any random unused port.
Crossbones+ - Reputation: 1844
Posted 16 October 2012 - 11:47 AM
That would make sense. I'm assuming the router associates this random port with the internal IP address of the computer that sent the request.
Yes, that's standard router procedures.
(LAN IP / internet IP)
192.168.1.2:61455 <-> 220.127.116.11:12233.
You'll need port forwarding to host a game on a specific router port.
Edited by papalazaru, 16 October 2012 - 11:47 AM.
That's the coolest thing since the mullet!
Moderators - Reputation: 6584
Posted 16 October 2012 - 01:58 PM