HOW TO KNOW WHAT PROGRAM IS LISTENING IN SPECIFIC PORT?

TYPE THIS IN YOUR LINUX TERMINAL WINDOW and see THE OUTPUT:

assuming 8888 is the port number you are looking if there is listening on the port.

#netstat -taupen

#netstat -tapen | grep “:8888”

#lsof -i :8888

#ss -nlp | grep 8888

Advertisements
This entry was posted in LINUX. Bookmark the permalink.

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