This command shows the port and listening socket associated with the service for TCP protocol sudo netstat -vanp tcp Find who uses port sudo netstat -vanp tcp | grep PORT_NUMBER