[Advance Java] What is a TCP Port?
A TCP port is just a number, a 16-bit number that identifies a
specific software program on the
server hardware.
Def: A port represents a logical connection to a particular piece of software running on the server hardware.
Your internet web (HTTP) server software runs on port 80. That’s a standard. If you’ve got a Telnet server, it’s running on port 23. FTP? 21. POP3 mail server? 110. SMTP? 25. The Time server sits at 37. Think of ports as unique identifiers.
Using one server app per port, a server can have up to 65536 different server apps running, i.e. there could be 65536 port in a server hardware.
Def: A port represents a logical connection to a particular piece of software running on the server hardware.
Your internet web (HTTP) server software runs on port 80. That’s a standard. If you’ve got a Telnet server, it’s running on port 23. FTP? 21. POP3 mail server? 110. SMTP? 25. The Time server sits at 37. Think of ports as unique identifiers.
Using one server app per port, a server can have up to 65536 different server apps running, i.e. there could be 65536 port in a server hardware.
The TCP port numbers
from 0 to 1023 are
reserved for well-known
services (including the
Big One we care about—
port 80). Don’t use these
ports for your own
custom server programs!
Comments
Post a Comment