HostOnNet Blog

Tag Archives: netstat

List all UDP Connections

To list all UDP connections, run Example Scan All UDP Ports To scan all UDP ports using nmap, use


Find which program use a port

To find which program use a port, for example 8080, you can use netstat or fuser command. ufser fuser command is part of psmisc package. On CentOS, install it with To see which application is running on PORT 8080, run


List all Open Ports

To list all open ports, run Example You can also use netstat -an to list all open ports


How to find out which program is using a port

You can use netstat or fuser commands to find out which program is using a port. You can find used ports with command nmap [root@server52 ~]# nmap localhost Starting Nmap 4.20 ( http://insecure.org ) at 2010-03-24 07:14 EDT Interesting ports


netstat

Find which program use a port netstat allows you to view all tcp connection on your system. To see all LISTENING ports, run