SUMMARY: Determing what application is using a port

From: Matthew Mauzy (matthew_mauzy@unc.edu)
Date: Tue Jul 09 2002 - 20:27:17 EDT


Thanks to the following people for their speedy responses:

        Amit Mahajan
        Nicola Venditi
        John Ballard

SUMMARY:

  - Use 'lsof'. http://www.sunfreeware.com
        Example: # lsof -i TCP:849,856

  - Use 'nmap'. http://nmap.org/

I've been using losf for years and never knew it worked on ports, always
thought it was just open files... Something about old dog new tricks...

Thanks,
--Matthew

--On Tuesday, July 09, 2002 8:03 PM -0400 Matthew Mauzy
<matthew_mauzy@unc.edu> wrote:

>
> Is there a utility that can tell you what process is using a specific
> port? Netstat shows that I have tons of open connections on port 849 and
> 856.
>
> System in question is a Solaris 2.5.1 box.
>
> --Matthew

__________________________________________________________________
                        Matthew W. Mauzy
                      Systems Administrator
                      Applied Math @ UNC-CH
email : mauzy@amath.unc.edu pager : mpager@amath.unc.edu
 (W) 919.962.9819 www.amath.unc.edu/~mauzy/ (P) 919.347.0390
__________________________________________________________________
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:34 EDT