Notices

Overclockers Forums > Software > Internet, Networking, and Security
Internet, Networking, and Security Networking and Viruses/Malware trouble. Get the answers here.
Forum Jump

Open ports??

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 07-02-03, 10:56 AM Thread Starter   #1
cbakey
Member



Join Date: Apr 2003
Location: Lancaster, PA

 
Open ports??


Dose anyone know of a command in CMD in win2k that allows you to see what ports are open on you computer?, I looked in help and its not in there....
Thanks
cbakey is offline   QUOTE Thanks
Old 07-02-03, 11:00 AM   #2
rUfUnKy
Member

 
rUfUnKy's Avatar 

Join Date: Jul 2001
Location: Ma.

 
open command promt and then type "netstat" (without the quotes) I believe this is what you want. This will show you what ports are being used now. Otherwise you could just run a port scan on your ip and get a list of open ports.

Last edited by rUfUnKy; 07-02-03 at 11:09 AM.
rUfUnKy is offline   QUOTE Thanks
Old 07-02-03, 11:28 AM   #3
nemisys
Member

 
nemisys's Avatar 

Join Date: Dec 2002
Location: Pennsylvania

 
"netstat -a" shows a little more info (TCP and UDP ports).
nemisys is offline   QUOTE Thanks
Old 07-02-03, 02:33 PM   #4
Gordon Airport
Registered



Join Date: Jan 2003
Location: On FedEx vehicle for deliveryLINTHICUM HEIGHTS MD

 
I like TCPView from sysinternals.com. It's basically a real-time netstat.
Pick up some of their other stuff while you're there, very handy.
Gordon Airport is offline   QUOTE Thanks
Old 07-03-03, 11:06 AM   #5
SinsFeelNatural
Member



Join Date: Jan 2003
Location: Phx. AZ - USA

 
Quote:
Originally posted by nemisys
"netstat -a" shows a little more info (TCP and UDP ports).
does *.* denote an open port?

__________________
RIP 1700+ JIUHB DLT3C@2.4GHZ-MSI Delta-L-1gb Muskin 3200 running Dual Channel-MSI 6600 128 MB-2x80gb Western Digital - R.I.P.
AMD 64 3500+ - ECS KV2LITE - 2GB DDR - SAPPHIRE X800GTO 256MB VIDEO RUNNING ON TWIN 15" LCDs - RIP
On a long enough time line, everyone's survival rate reaches zero.
SinsFeelNatural is offline   QUOTE Thanks
Old 07-03-03, 11:15 AM   #6
EmTSea19
Member



Join Date: Dec 2002
Location: Northeast U.S.A.

 
In Netstat, what does "foreign address" mean?
EmTSea19 is offline   QUOTE Thanks
Old 07-03-03, 11:19 AM   #7
Ravsitar
Member

 
Ravsitar's Avatar 

Join Date: Jun 2003
Location: Minnetonka, MN

 
dslreports.com has the port scanner tool. there's also this port scanner www.BlueBitter.de it works too.
Ravsitar is offline   QUOTE Thanks
Old 07-03-03, 11:36 AM   #8
josi
Member



Join Date: Feb 2003
Location: Riga, Latvia

 
Run netstat -an and look for TCP entries with state "LISTENING" and UDP entries with foreign address "*.*".
josi is offline   QUOTE Thanks
Old 07-03-03, 12:13 PM   #9
Gordon Airport
Registered



Join Date: Jan 2003
Location: On FedEx vehicle for deliveryLINTHICUM HEIGHTS MD

 
Hmm, what are we suposed to do with the *.* UDP ports? The services that own them are svchost.exe or System so I've always figured they were...uh, important system stuff. Looks like NETBIOS and time service.
Gordon Airport is offline   QUOTE Thanks
Old 07-03-03, 12:30 PM   #10
Chris
Member

 
Chris's Avatar 

Join Date: Sep 2001
Location: England, UK

10 Year Badge
 
Netstat just shows what ports are being used, it doesnt show easily all ports that are open. The best thing to do is runa port scan on your self, or just check your firewall and see what you have open.

__________________
Folding@Home Team32
Chris is offline   QUOTE Thanks
Old 07-03-03, 02:11 PM   #11
josi
Member



Join Date: Feb 2003
Location: Riga, Latvia

 
Sorry, Chris, but what netstat shows is depending from the command line parameters, and with parameter "-a" it shows also all open ports.
josi is offline   QUOTE Thanks
Old 07-03-03, 04:07 PM   #12
pik4chu
Senior Yellow Forum Rat

 
pik4chu's Avatar 

Join Date: Jan 2003
Location: Highlands Ranch, Colorado

10 Year Badge
 
I will dd that if you have teh ability to stealth open ports and such, they WILL show up in netstat, bu5 a port scan and such will show as no open ports, even if there are. best way is to use netstat -an. if you happen to have kazaa or other P@P filesharing running you will see a lot of wierd ports and addresses, so dont freak out too much

kinda like this

PHP Code:
.......
TCP    192.168.1.33:1032      192.168.1.34:139       ESTABLISHED
TCP    192.168.1.33
:1174      213.112.10.147:411     ESTABLISHED
TCP    192.168.1.33
:1176      68.113.58.59:1214      ESTABLISHED
TCP    192.168.1.33
:1188      24.25.188.106:30446    ESTABLISHED
TCP    192.168.1.33
:1211      217.164.83.16:1411     ESTABLISHED
TCP    192.168.1.33
:1381      217.215.14.131:418     ESTABLISHED
TCP    192.168.1.33
:1552      24.94.250.20:1412      ESTABLISHED
TCP    192.168.1.33
:1648      213.199.92.93:1933     ESTABLISHED
TCP    192.168.1.33
:1848      24.166.163.245:3798    ESTABLISHED
TCP    192.168.1.33
:1853      213.64.197.83:1813     ESTABLISHED
TCP    192.168.1.33
:1940      142.165.29.16:411      ESTABLISHED
....... 

__________________
DFI X58-T3EH8 | I7-920 C0@3.0 (V8) | 6*2GB Corsair Dominator @1800-7-7-7-18 | eVGA 285 | 1.5 TB RAID 0 | Win7 64-bit (456Watts)
Main Server (WIP): DFI X58-T3EH8 | I7-920 C0@3.6 | 3*2GB Corsair Dominator @1800-7-7-7-18 | 8*1.5TB in RAID 5 (283Watts)

Folding User Stats
Team 32 Countdown heatware
pik4chu is offline Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 07-03-03, 04:50 PM   #13
Chris
Member

 
Chris's Avatar 

Join Date: Sep 2001
Location: England, UK

10 Year Badge
 
Quote:
Originally posted by josi
Sorry, Chris, but what netstat shows is depending from the command line parameters, and with parameter "-a" it shows also all open ports.
I thought that was just open ports that are in use though? and not all open ports full stop. I dont mind being corrected if im wrong.

__________________
Folding@Home Team32
Chris is offline   QUOTE Thanks
Old 07-03-03, 04:54 PM   #14
pik4chu
Senior Yellow Forum Rat

 
pik4chu's Avatar 

Join Date: Jan 2003
Location: Highlands Ranch, Colorado

10 Year Badge
 
Quote:
Originally posted by Chris


I thought that was just open ports that are in use though? and not all open ports full stop. I dont mind being corrected if im wrong.
if the State TCP is "LISTENING" then its open but not in use. or for UDP the forieng address is *.* then its open but not in use. all the other States means its in use one way or another. (like, Established, Time_wait, Closing, Close_wait, Fin_wait_XX and so on)

__________________
DFI X58-T3EH8 | I7-920 C0@3.0 (V8) | 6*2GB Corsair Dominator @1800-7-7-7-18 | eVGA 285 | 1.5 TB RAID 0 | Win7 64-bit (456Watts)
Main Server (WIP): DFI X58-T3EH8 | I7-920 C0@3.6 | 3*2GB Corsair Dominator @1800-7-7-7-18 | 8*1.5TB in RAID 5 (283Watts)

Folding User Stats
Team 32 Countdown heatware
pik4chu is offline Benching Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 07-03-03, 04:56 PM   #15
Chris
Member

 
Chris's Avatar 

Join Date: Sep 2001
Location: England, UK

10 Year Badge
 
Quote:
Originally posted by pik4chu


if the State TCP is "LISTENING" then its open but not in use. or for UDP the forieng address is *.* then its open but not in use. all the other States means its in use one way or another. (like, Established, Time_wait, Closing, Close_wait, Fin_wait_XX and so on)
ah ok thanks

__________________
Folding@Home Team32
Chris is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Internet, Networking, and Security
Internet, Networking, and Security Networking and Viruses/Malware trouble. Get the answers here.
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 06:01 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?