0

For example, I run two web servers in a single machine (only a single NIC available). They use different ports (let us say: 1200 and 1201)

Now when a client (say from a mobile device or a browser from a laptop), tries to reach those web servers. Either the servers are reached by typing http address or IP address in the browser; but port number is NOT given along.

In this case, how the packets are delivered to the correct servers since the port numbers are not given in the address?

I am aware that incoming packets will be delivered to the correct browser processes since the packets contain client IP address along with port number.

Thanks!

0 Answers0