LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   range of Ports (https://www.linuxquestions.org/questions/linux-newbie-8/range-of-ports-773203/)

vinaytp 12-03-2009 08:52 AM

range of Ports
 
Hi all..

My distribution is fedora 9 and RHEL 5.3 in both the systems port range is ...

Code:

[root@TEG Sample Scripts]# cat /proc/sys/net/ipv4/ip_local_port_range
32768        61000

This indicates local port range that is used by TCP and UDP traffic to choose the local port.

Why it wont start from 1 ? why it is starting from 32768 and ends at 61000 any reason ?

Thanks in advance...

rweaver 12-03-2009 09:13 AM

The lower numbered ports are typically reserved for specific uses by internet standards, the high ports typically aren't. Usually only root can start a process that opens on a port below ~1000.

Web31337 12-03-2009 09:30 AM

below 1024, if to be clear.

chrism01 12-03-2009 05:38 PM

See the /etc/services file for a mapping of 'IANA well known ports' to service names.


All times are GMT -5. The time now is 07:07 PM.