LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-07-2013, 08:57 PM   #1
maddyfreaks
Member
 
Registered: May 2011
Posts: 70

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.

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

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
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
RaviTezu
Member
 
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.
Quote:
man netstat
&
You should know what does a port number mean. As sag47 said..you should do some ground work before you ask something here.Use Google for the info.
 
Old 01-07-2013, 11:05 PM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
netstat -tap
 
  


Reply


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


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

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