Solved

Linux, finding active ports

Posted on 2013-12-17
1
253 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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

17 Experts available now in Live!

Get 1:1 Help Now