[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Port numbers



On Mon, Jul 09, 2001 at 11:39:01AM -0400, Thomas J. Hamman wrote:
> In what documentation/manpage/whatever can I find a list of ports and
> their numbers (like the ports for telnet, http, etc.)?  And also I'd
> like to know how to see which ports my computer has open.

see /etc/services


DEBIAN NEWBIE TIP #19 from Dave Sherohman <esper@sherohman.org>
:
How do you determine WHICH NETWORK SERVICES ARE OPEN (active)?
Try "netstat -a | grep LISTEN". To see numeric values (instead
of the common names for services using a particular port) then
try "netstat -na" instead. For more info, look at "man netstat".
   Also try "lsof -i" as root. "man lsof" for details.
=Will Trillich <will@serensoft.com>

DEBIAN NEWBIE TIP #38 from Alvin Oga <aoga@Mail.Linux-Consulting.com>
:
Curious about your NETWORK TRAFFIC? There's a whole bunch of
ways to monitor it: iptraf, showtraf, netwatch, tcpview, statnet,
or even
	tcpdump | grep 'what you want to see'
	lsof -i | grep 'LISTEN'
For network statistics try "mrtg". See the ethernet section
over at http://www.Linux-Sec.net/

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: