Question : linux how to see ports in use
Answered by : pierre-joubert
# Any of the following
sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn | grep LISTEN
sudo lsof -i:22 # see a specific port such as 22
sudo nmap -sTU -O IP-address-Here
Source : | Last Update : Tue, 07 Apr 20
Question : how to check list of open ports in linux
Answered by : enchanting-earthworm-s266r0s78wr6
sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn | grep LISTEN
sudo lsof -i:22 # see a specific port such as 22
sudo nmap -sTU -O IP-address-Here
Source : | Last Update : Tue, 12 May 20
Question : used port linux
Answered by : smoggy-squirrel-bcvff3gzl72c
# 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
Source : | Last Update : Wed, 08 Sep 21