How to identify if a port is listening on a unix server

Posted on October 6, 2008. Filed under: Apps Technology Stack, DBA/Admin Tips, Diagnostics, Operating System, R12, TroubleShooting | Tags: , , , |

We often get into a situation wherein we have to check if a particular port is being used by some process.
Command

netstat -an | grep [port number] | grep LISTEN

Command to identify the OS process associated with a port

lsof -i tcp:[port number]

cheers,

OraclePitStop

Advertisements

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

One Response to “How to identify if a port is listening on a unix server”

RSS Feed for OraclePitStop – Lets share some knowledge Comments RSS Feed

[…] services on both the boxes. 2) Verify no process is listening for s_java_object_cache_port value. click here to view the commands. 2) Change s_java_object_cache_port on all the nodes in the context file 3) Run […]


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: