How to find ports in use in Linux?

Issue

How to find ports in use in Linux?

Solution

Use any of the below mentioned commands to find ports being used and list associated processes

  1. netstat -nap
  2. netstat -tulpn
  3. ps aux
  4. ps aux | less
  5. ps -f

If you want to find a specific port in use then use the following command:

  1. ps -f | grep 4860
  2. ps aux | grep 4860
  3. netstat -tulpn | grep 5556

 

Oracle EBS 12.2.2 Installation - Documents to foll...
Fatal error in node manager server java.net.BindEx...