Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




basics logo Security Basics mailing list archives

Re: how to find a port that some programs are using?
From: Kenneth Kalmer <kenneth.kalmer () gmail com>
Date: Sat, 26 Feb 2005 18:54:59 +0200

On Mon, 21 Feb 2005 18:50:53 +0200 (EET), Panos
<epp719 () aretousa epp teiher gr> wrote:
see fuser
fuser -n tcp 80 gives u the process id of the program running on port 80
on tcp protocol, here web
same way for udp. fuser -n udp *port*
Hi, I'm really sorry about the newbie question, but there it goes:

I have some programs that makes a conection on it server, and I must
know which port these programs are using.

I'm under linux, if anyone knows some tool or something like this I'd be
grateful.

netstat -lp --numeric-ports


Thanks

Pleasure






-- 

Kenneth Kalmer
kenneth.kalmer () gmail com
http://opensourcery.blogspot.com


  By Date           By Thread  

Current thread:
  • Re: how to find a port that some programs are using? Kenneth Kalmer (Feb 28)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]