Re: dang: how to display the process ass'd with an active port

From: Amar Takhar (verm_at_drunkmonk.net)
Date: 02/19/04

  • Next message: Ken: "Brand Spanking New"
    Date: Wed, 18 Feb 2004 17:14:33 -0700
    To: "'freebsd-newbies@freebsd.org'" <freebsd-newbies@freebsd.org>
    
    

    On 2004-02-17 15:48 -0800, Goodleaf, John M wrote:
    > Under 4.9, how can I tell which process is associated with a port? I've
    > noticed a few oddball ports open on a machine, and I'd like to know which
    > process did that. Seems straightforward and yet I don't know the answer.

    Install /usr/ports/sysutils/lsof "list open files".

    lsof|grep :

    Usually works great for me!

    Amar.
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Ken: "Brand Spanking New"

    Relevant Pages

    • Re: Danger to having Port 80 open on hardware firewall
      ... Yes, I do, and no I do not have Port 80 forwarded. ... "John" wrote in message ... >> Kevin Weilbacher [SBS-MVP] ...
      (microsoft.public.windows.server.sbs)
    • Re: Problem with MSSQL SPRINTA 2000 JDBC Driver
      ... Have you checked that you are using the TCP/IP protocol and given port? ... Check the client configuration and see if you can connect using Query ... John ...
      (comp.lang.java.databases)
    • Re: Cant access RWW using FQDN/Remote Must type in HTTPS:// first
      ... > Remote web workplace is installed under the default web site and should be ... Port 1723 is for a VPN connection with PPTP. ... Are you using ISA server? ... > | John ...
      (microsoft.public.windows.server.sbs)
    • RE: OMVS
      ... listening on port 23 and the INETD daemon will try to listen on port 23 ... You might want to change the OMVSKERN to BPXROOT in all the ... John McKown ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
      (bit.listserv.ibm-main)
    • Re: Port Mapping through a Win 2003 Server to a client machine
      ... It's a GUI interface. ... After you install RRAS and NAT you will find a special ports ... >> John F wrote: ... >>> the public IP address of the server with a specific port that will ...
      (microsoft.public.windows.server.networking)