Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-07-2013, 08:57 PM   #1
Registered: May 2011
Posts: 85

Rep: Reputation: 0
Port of an IP Address @ LInux

Hi Folks...

Am bit new to Linux. Just wondering to see how can I find the port number for an ip addresss.

Please help me. I am using RHEL 6.

How can it be found in Solaris 5.10 also.

Please show me with an example. Your help is highly appreciated.

Old 01-07-2013, 09:03 PM   #2
Senior Member
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,860
Blog Entries: 36

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
What is a port

Unless you know what service you're looking for or a specific port no amount of commands will help you. Please elaborate and research more of the subject using Google before asking a blanket question like that. Put some effort into your own question. What do you really want?
1 members found this post helpful.
Old 01-07-2013, 11:03 PM   #3
Registered: Nov 2012
Location: India
Distribution: Fedora, CentOs, RHEL
Posts: 164

Rep: Reputation: 24
Hi maddyfreaks,

You can get the port number details using the netstat command.
Learn the available options using man command.
man netstat
You should know what does a port number mean. As sag47 should do some ground work before you ask something here.Use Google for the info.
Old 01-07-2013, 11:05 PM   #4
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 887

Rep: Reputation: 117Reputation: 117
netstat -tap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
netstat output - Both local ip address:port and foreign ip address:port are same!!! ashim_rana Linux - Networking 3 04-23-2012 12:06 AM
Iptables can't port forward (PAT Port address translation) sfrederiksen Linux - Networking 7 12-20-2011 11:47 AM
MULTICAST address and port, socket listen only on port? jf.argentino Linux - Networking 2 03-09-2009 01:42 PM
Port Forwarding per IP Address Linux and Win2k3 carl.waldbieser Linux - Networking 1 01-05-2006 06:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration