Shell/Bash: find out which procses is using port linux Example
Shell/Bash Example: This is the "find out which procses is using port linux" Example. compiled from many sources on the internet by SimpleTutorials.org
ubuntu check process on port
sudo lsof -i:22
find out which procses is using port linux
sudo lsof -i:
process runninng on particular port
sudo ss -lptn 'sport = :80'
linux query port use by pid
$ sudo ss -lptn 'sport = :80' State Local Address:Port Peer Address:Port LISTEN 127.0.0.1:80 *:* users:(("nginx",pid=125004,fd=12)) LISTEN ::1:80 :::* users:(("nginx",pid=125004,fd=11))
* Summary: This "find out which procses is using port linux" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!