Answers for "how to check who is using port in linux"

7

find out which procses is using port linux

sudo lsof -i:<port_number>
Posted by: Guest on July-30-2020
0

cli check what is listening on port

lsof -i tcp:53 #Check what is listening on port 53
lsof -t -i tcp:53 #Return the process PID listening on port 53
Posted by: Guest on December-14-2020
-1

used port linux

# Linux
ss -ltn

# windows
netstat -a -p -n tcp | findstr LISTENING

# SOURCE 
https://solace.community/discussion/26/how-to-find-a-free-tcp-port-for-testing-pubsub-with-docker
Posted by: Guest on September-01-2021

Code answers related to "how to check who is using port in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language