tcp connections between pc's

Unanswered Question
Mar 30th, 2009
User Badges:

Hi all when my pc communicates wih a server, say web etc, I know it uses a random dynamic port to talk to a well known/registered port on the server, I know also that the server will use its source port as the same as the destination port from the client and destination as the clients source port, but sometimes can the server use a random source port ? or would this have to be part of a new connection ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
andrew.prince@m... Mon, 03/30/2009 - 06:38
User Badges:
  • Green, 3000 points or more

Your are correct, If a session is created TO the server from a client, the source port the servers uses will be the same port the client used as a destination port.

Only when the server initiates a connection will the source port be dynamic in the port range of 1024-65535


This Discussion