Solved

Linux, finding active ports

Posted on 2013-12-17
1
254 Views
Last Modified: 2013-12-17
I am running RHEL 6.4

I want to find all active external ports.   For instance if I want to see if DB2 and WMQ are active I would want to know if anyone is listening on 50000 or 1414 (unless otherwise configured)

What Linux command can I use to see all active ports used externally

Thanks
0
Comment
Question by:Los Angeles1
1 Comment
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 39725102
You can use netstat or nmap. Netstat runs locally and tell you what ports are currently open; Nmap is a comprehensive network scan tool that allows you to probe open ports on the remote host

netstat -ant
yum install nmap
nmap --help

Open in new window

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now