Horje
linux get port usage Code Example
linux how to see ports in use
# 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
linux get port usage
# Linux (tested on Kali & Ubuntu)
sudo ss -tulpn | grep LISTEN
how to check list of open ports in linux
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
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




Shell

Related
OSError: [Errno 24] inotify instance limit reached Code Example OSError: [Errno 24] inotify instance limit reached Code Example
how to disable maintenance mode in magento 2 Code Example how to disable maintenance mode in magento 2 Code Example
git ignore cache Code Example git ignore cache Code Example
ubuntu cli give full access to folder Code Example ubuntu cli give full access to folder Code Example
git alias add and commit Code Example git alias add and commit Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13