User Name
Password
AppleNova Forums » Genius Bar »

What's using that port?


Register Members List Calendar Search FAQ Posting Guidelines
What's using that port?
Thread Tools
torifile
Less than Stellar Member
 
Join Date: May 2004
Location: Durham, NC
Send a message via AIM to torifile  
2008-01-08, 11:09

I was trying to set up Connect360 yesterday and I kept getting an error about ports being in use. I was eventually able to track down the offending port hog, but it got me thinking: Is there an application that will tell me what is using my ports? Not just a list of usual port use, but what ports are actually open and in use and by what. If not, is the a command line way to get this info? Thx.
  quote
Banana
is the next Chiquita
 
Join Date: Feb 2005
 
2008-01-08, 11:11

I believe you want nmap.
  quote
Majost
monkey with a tiny cymbal
 
Join Date: Nov 2004
Location: Lost
 
2008-01-08, 11:16

Ah, but nmap isn't installed by default (at least not on my 10.3).

The command netstat will show you this (and much more). To filter to just TCP ports (typically the ones you're interested in), netstat -p tcp will do the job.

You can also look at UDP and socket connections, but those are mostly loopbacks for internal communication.
  quote
Taskiss
Veteran Member
 
Join Date: Jul 2007
Location: St. Louis, MO
 
2008-01-08, 12:13

Usually, the outbound ports aren't a problem, it's the ports that are accepting incoming connections you have to watch. You can see them using:

netstat -n | egrep -i listen

You can probably ignore all the connections using the local loopback 127.0.0.1 address.
  quote
RobUSVI
Member
 
Join Date: May 2007
 
2008-01-09, 10:55

> Is there an application that will tell me what is using my ports?

lsof -i

from the terminal application
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
Airport Extreme and Port 53 jdcfsu Genius Bar 8 2007-04-10 21:10
Bajillion ports open. Ebby Genius Bar 1 2007-04-03 06:29
Possible Bad Ethernet Port section8joe Genius Bar 13 2005-10-12 13:09
usb port plug thingy teglover Third-Party Products 3 2005-03-02 21:23
somone sneaking into my system? ThunderPoit General Discussion 8 2004-06-30 09:09


« Previous Thread | Next Thread »

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


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2018, AppleNova