Computers and the Internet · Finding each other on the internet
What is a port?
An IP address gets data to the right machine; a port number gets it to the right program on that machine. Servers listen on well-known ports, clients use temporary ones, and firewalls decide which are reachable.
- Time15 min
- LevelBeginner
- Pictures12 diagrams
- Check6 questions






Browser wants
Home router NAT rewrites your address and port, and remembers the mapping.
Server's operating system hands the connection to the web server listening on 443.
Reply comes back addressed to your port, so it reaches the right connection.