Share your knowledge at the LQ Wiki.
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 08-15-2013, 06:17 PM   #1
LQ Newbie
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
Smile network port

Hi. Beeing new to Linux, I need to find out what is associated to a particular port (say 10000). Which command will tell me?
Thank you
Old 08-15-2013, 07:19 PM   #2
Registered: Nov 2004
Location: San Bernardino, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 258

Rep: Reputation: 52

Well, if it's one of the standard IANA-assigned ports, you can simply do:
 ~ $ less /etc/services
which from my current file says it isn't currently assigned:
sctp-tunneling  9899/tcp                        # SCTP TUNNELING
sctp-tunneling  9899/udp
domaintime      9909/tcp                        # domaintime
domaintime      9909/udp
amanda          10080/tcp                       # amanda backup services
amanda          10080/udp 
HTH. Let us know.
1 members found this post helpful.
Old 08-15-2013, 08:49 PM   #3
Doug G
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
You can find a complete list of well-known ports here too, if you don't happen to be on a linux machine with a local file copy

Last edited by Doug G; 08-15-2013 at 08:50 PM.
1 members found this post helpful.
Old 08-16-2013, 05:00 AM   #4
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 218

Rep: Reputation: 38
If you need to know, which programm or service is currently using a certain port on your machine you can use
netstat --tcp --udp --listening --program | grep <port number>
Here is some more info about this topic:
1 members found this post helpful.


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
SFTP server port blocked on Uni network, need to change the listening port. sammyboy161 Linux - Newbie 2 10-21-2010 01:03 PM
Getting a network port Skaperen Linux - Networking 4 08-09-2010 11:36 AM
best port scanner To scan open port in a network tanveer Linux - Security 8 01-21-2007 09:19 PM
network console port ah_kayyali Linux - Networking 3 03-19-2006 12:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 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