Sobes.tech
Middle

Как посмотреть, какой процесс слушает порт 80?

sobes.tech AI

Answer from AI

To find out which process is listening on port 80, you can use several commands in Linux:

  1. sudo lsof -i :80 — shows processes that have opened port 80.
  2. sudo netstat -tulpn | grep :80 — displays a list of processes with their PIDs listening on port 80.
  3. sudo ss -tulpn | grep :80 — a modern alternative to netstat.

Example:

sudo lsof -i :80

The output will show the process name and PID, which helps identify which application is using port 80.

Как посмотреть, какой процесс слушает порт 80? — SRE… - sobes.tech