A port is the endpoint to a logical connection. In a normal TCP/IP network connection, the IP is the address of the computer, and the port identifies the type of connection. For example, port 80 is used for HTTP traffic, and port 25 is almost always used for SMTP email.