View Full Version : netstat commands and keys?
malcore
01-08-2003, 12:48 PM
Just installed a router/firewall. Why didn't I do this before!!??
Trying some netstat commands to figure out program port usage.
I recall seeing commands to test for IRC servers and Ident servers but can't remember them exactly. I know the ports are 6667 and 113, but does anyone know the full commands?
Also, in the middle of most commands is a vertical line. What key or combination of keys do I use for this?
Network beginner here.
Thanks
fishybawb
01-08-2003, 01:15 PM
Sorry, I know *nothing* about netstat, but on most keyboards the | character is Shift + \ :D
malcore
01-08-2003, 01:22 PM
Oh man, I've never used that key before and didn't realize that the space you see in Dos disappears in other fonts. Thanks fishy.:p
And I found those commands at grc.com
netstat -an | find ":6667"
and
netstat -an | find ":113 "
C:\>netstat -?
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-p proto Shows connections for the protocol specified by proto; proto
may be TCP or UDP. If used with the -s option to display
per-protocol statistics, proto may be TCP, UDP, or IP.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for TCP, UDP and IP; the -p option may be used to specify
a subset of the default.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.
vBulletin v3.6.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.