Date: Mon, 21 Jan 2002 22:31:29 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Jim McIver <jmciver@lmtribune.com> Cc: freebsd-questions@freebsd.org Subject: Re: port Message-ID: <20020121213128.GA29992@student.uu.se> In-Reply-To: <3C4C16CF.18360.13CC36BA@localhost> References: <3C4C16CF.18360.13CC36BA@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 21, 2002 at 01:25:32PM +0000, Jim McIver 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? Use sockstat(1) and/or netstat(1) to see what ports are currently in use and by what programs. To see what various ports are normally used for you can look in /etc/services. You might also wish to look in /etc/inetd.conf to see what ports inetd is configured to listen on. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se 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?20020121213128.GA29992>