Digital Marketing

Linux: Check Which Port Number a Process is Listening on

$ sudo ss -ltnp
  • l: display only listening sockets
  • t: display tcp connection
  • n: display addresses in a numerical form
  • p: display process ID/ Program name
$ sudo lsof -i :80
This command will list all processes using TCP port number 80.

Comments

Popular posts from this blog

Make online money from the Internet