#7300 - 03/20/04 09:42 PM
real Newb Question
|
Joined: Mar 2004
Posts: 419
Spyrios
UGN Member
|
UGN Member
Joined: Mar 2004
Posts: 419
VA
|
ok i have googled and searched but maybe i'm just not that good yet. can some on please tell me how i can see a list of my ports open and otherwise? is it a command line thing or is there a way to see from within windows. i run xp home on my desk and pro on my laptop.
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
|
#7302 - 03/21/04 03:29 AM
Re: real Newb Question
|
Joined: Mar 2004
Posts: 419
Spyrios
UGN Member
|
UGN Member
Joined: Mar 2004
Posts: 419
VA
|
um maybe i googled it wrong but that shows me analog-x website and the utility just shows me how fast my modem is going? can you clarify?
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
|
#7304 - 03/21/04 05:57 AM
Re: real Newb Question
|
Joined: Dec 2002
Posts: 3,255
§intå×
|

Joined: Dec 2002
Posts: 3,255
Likes: 3
Maryland
|
In DOS or cmd line.. Let me back up. Windows NT 4.0, Windows 2000, and Windows XP do not have DOS. They have a command line that looks a hell of a lot like DOS. Windows 95, 98, ME have DOS. For the point of this disscusion DOS and commandline are the same thing.(Even though they really are not) The netstat DOS help file is shown below 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.
The letters you see are known as switches or attributes. Each one dose something different. You can combine them to spit out even more info. Play with the switches a bit and you will see al kinds of good info. I think you might find netstat -s useful
|
|
|
#7307 - 03/21/04 06:46 AM
Re: real Newb Question
|
Joined: Jun 2003
Posts: 807
Ghost
UGN Super Poster
|
UGN Super Poster
Joined: Jun 2003
Posts: 807
Likes: 2
Wisconsin
|
You can also use "command/?" to display help information: C:\>netstat/?
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-o] [-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.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
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. "command help" also works: C:\>netstat help
Displays protocol statistics and current TCP/IP network connections.
NETSTAT [-a] [-e] [-n] [-o] [-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.
-o Displays the owning process ID associated with each connection.
-p proto Shows connections for the protocol specified by proto; proto
may be any of: TCP, UDP, TCPv6, or UDPv6. If used with the -s
option to display per-protocol statistics, proto may be any of:
IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
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.
C:\> heh Damn_newb, sintax is one of the most knowledgeable members here. He only flames when someone needs to be flamed. This wasnt a stupid question like he said. Also, about searching google for information on commands, type them in quotes like this: That acctually searches for the command, as well as the -an flag. In google, typing "-an" after something will mean that you dont want to return results that contain "an". Putting it in quotes searches for the exact string of text.
|
|
|
#7308 - 03/21/04 07:03 AM
Re: real Newb Question
|
Joined: Mar 2004
Posts: 419
Spyrios
UGN Member
|
UGN Member
Joined: Mar 2004
Posts: 419
VA
|
well look at that, that was something i half knew, i knew anout the quotes for exact matches but not about the minus thing. and i typed it in and sure enough there it was and even how to read what i pulled up, woot.(oops gamer)
D, world destruction Over and overture N, do I need Apostrophe T, need this torture?-They Might Be Giants
|
|
|
#7323 - 05/26/04 05:56 AM
Re: real Newb Question
|
Joined: Feb 2002
Posts: 7,202
Gremelin
Community Owner
|
Community Owner

Joined: Feb 2002
Posts: 7,202
Likes: 11
Portland, OR; USA
|
|
|
|
#7324 - 05/26/04 11:49 AM
Re: real Newb Question
|
Joined: Dec 2002
Posts: 3,255
§intå×
|

Joined: Dec 2002
Posts: 3,255
Likes: 3
Maryland
|
|
|
|
|
Forums41
Topics33,701
Posts68,795
Average Daily Posts0
|
Members2,173
Most Online1,567 Apr 25th, 2010
|
|
|
Okay WTF?
by HenryMiring on 09/27/17 08:45 AM
|
|
|
|
|
|
|
|