Home page logo

basics logo Security Basics mailing list archives

Re: What Port Is Being Used
From: stefmit <stefmit () comcast net>
Date: Wed, 28 May 2003 13:06:24 -0500

# netstat -lnp

and you may not need lsof ;)


On Tuesday 27 May 2003 02:01 pm, Bear Giles wrote:
Price Mark G Contr ANG/C4 wrote:
 > What is the best way to find out what port you are using?

At bit more generally, on Unix/Linux you can use "netstat -l" to
list all of the "listeners", then use lsof or fuser to identify
the owning process.


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]