Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
09-19-2005, 11:13 AM
|
#1
|
LQ Newbie
Registered: Sep 2005
Location: San Antonio, TX
Distribution: Fedora Core
Posts: 7
Rep:
|
? about ports
I'm looking for a command in the linux prompt that will allow me to see which ports are being used for what?
|
|
|
09-19-2005, 12:43 PM
|
#2
|
Member
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Rep:
|
If you run nmap 127.0.0.1, you'll get a detailed list of all open ports and which services that are using them.
|
|
|
09-19-2005, 01:02 PM
|
#3
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
nmap will not show firewalled ports, and may give incosistent results. Use 'netstat' to show ports open, and using the -p option can even show what program is using that port.
|
|
|
09-19-2005, 04:33 PM
|
#4
|
LQ Newbie
Registered: Sep 2005
Location: Germany
Distribution: Gentoo(KDE 3.4)
Posts: 6
Rep:
|
additionally use --inet if you dont want to see the UN*X sockets
|
|
|
All times are GMT -5. The time now is 06:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|