Comments on: How to Find Out List of All Open Ports in Linux https://www.tecmint.com/find-open-ports-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 10:21:20 +0000 hourly 1 By: Aaron Kili https://www.tecmint.com/find-open-ports-in-linux/comment-page-1/#comment-1098207 Thu, 31 Jan 2019 07:00:48 +0000 http://www.tecmint.com/?p=23327#comment-1098207 In reply to Reyaz Hossan.

@Reyaz

Thanks for sharing this useful information, we are grateful.

]]>
By: Reyaz Hossan https://www.tecmint.com/find-open-ports-in-linux/comment-page-1/#comment-1098096 Wed, 30 Jan 2019 11:29:51 +0000 http://www.tecmint.com/?p=23327#comment-1098096 Awesome post and informative.

Thanks a lot

If you don’t mind I can share some addition info with this post.

If you want to find the port list of oracle application and database in Linux system use the following command.

# cat $ORACLE_HOME/install/portlist.ini

Else, you can follow this guide to find out Oracle ports: https://docs.oracle.com/cd/B19306_01/install.102/b15660/app_port.htm

Thanks again…

]]>
By: Aaron Kili https://www.tecmint.com/find-open-ports-in-linux/comment-page-1/#comment-967667 Thu, 08 Feb 2018 08:29:21 +0000 http://www.tecmint.com/?p=23327#comment-967667 In reply to Mike Schwartz.

@Mike

Thanks for sharing, I use a similar command to find process listening on a port like this:

$ sudo netstat -tnlp | grep -w "PORT_HERE"

Where:

  • -t – consider tcp ports.
  • -l – display only listening sockets.
  • -n – show numerical addresses.
  • -p – show the PID and name of the program socket belongs to.
]]>
By: Mike Schwartz https://www.tecmint.com/find-open-ports-in-linux/comment-page-1/#comment-967541 Wed, 07 Feb 2018 20:48:35 +0000 http://www.tecmint.com/?p=23327#comment-967541 I use `netstat -antlp | grep LISTEN`

I remember “ant” and “lp” options for some reason it sticks in my brain.

]]>
By: Aaron Kili https://www.tecmint.com/find-open-ports-in-linux/comment-page-1/#comment-892956 Wed, 31 May 2017 06:39:21 +0000 http://www.tecmint.com/?p=23327#comment-892956 In reply to Chris Pesoa.

@Chris

Hope you enjoyed it, many thanks for the suggestion; keeps output small enough and clear.

]]>