TCP ports

In a TCP/IP network when a computer connects with another computer to access a specific service, and end-to-end connection is established and a socket is set up at each end of the connection. This socket is created at a particular port number, depending on the application in use. Table T.1 lists the port numbers used for some of the common protocols.

Port Number

Protocol

21

File Transfer Protocol

23

Telnet

25

Simple Mail Transfer Protocol

70

Gopher

79

Finger

80

Hypertext Transfer Protocol

119

Network News Transfer Protocol