Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2002 12:23:59 -0800 (PST)
From:      Mikko Tyolajarvi <mikko@dynas.se>
To:        questions@freebsd.org
Subject:   Re: port
Message-ID:  <200201242023.g0OKNxv47391@mikko.rsa.com>
References:  <3C4C16CF.18360.13CC36BA@localhost> <20020123180059.8732.qmail@web12508.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd.questions you write:

>--0-1152659619-1011808859=:8595
>Content-Type: text/plain; charset=us-ascii


> lsof -i :<port_number> i think lsof is a good tool

Also, "sockstat" lists all open sockets, together with process, pid
and user.  And it is in the base system.

>  Jim McIver <jmciver@lmtribune.com> wrote: How would tell what port a daemon is running on?

>I know that FTP is suppose to use port 21 and 20, but is there a way to 
>see this?

[ html junk deleted ]

  $.02,
  /Mikko
-- 
 Mikko Työläjärvi_______________________________________mikko@rsasecurity.com
 RSA Security

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201242023.g0OKNxv47391>