I would like to know whether a server application will always answer on the same port? I have read somewhere that in order to keep listening on the “listening” port, the server will use different port. Could anybody provide me with more details?
Thanks!
I would like to know whether a server application will always answer on the
Share
As a part of the TCP handshaking process, a communication channel is established on another port. The source and destination ‘port’ numbers correspond to 16 bit fields in the TCP packet header. Once the channel is established, the communication takes place on that port, with the appropriate source and destination port values in the fields on the header.
The initial connection is made to the listening port on the server; after this, the process establishes a TCP connection on the new ports assigned and further communication takes place on those ports.