Answers for "display process on port"

4

list process using port

sudo lsof -n -i :80 | grep LISTEN
Posted by: Guest on April-15-2021
3

get process running on port

# ss -tanp | grep 6379
LISTEN   0    128  127.0.0.1:6379   *:*   users:(("redis-server",pid=2531,fd=4))
Posted by: Guest on August-06-2021

Browse Popular Code Answers by Language