Less than Stellar Member
|
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 |
is the next Chiquita
Join Date: Feb 2005
|
I believe you want nmap.
|
quote |
monkey with a tiny cymbal
Join Date: Nov 2004
Location: Lost
|
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 |
Veteran Member
Join Date: Jul 2007
Location: St. Louis, MO
|
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 |
Member
Join Date: May 2007
|
> Is there an application that will tell me what is using my ports?
lsof -i from the terminal application |
quote |
Posting Rules | Navigation |
|
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 |