61.9k views
2 votes
What is the range of the well-known ports used by tcp and udp?

User Nepete
by
7.9k points

1 Answer

6 votes
/etc/services on my CentOS machine goes up to 49000. Reserved ports are less than 1024.

Well known and reserved ports are two different things. Well known ports only need a registration with IANA. Reserved ports, on *nixes, requires root for a deamon to bind to the port.
User Godblessstrawberry
by
8.4k points