How do I check to see which ports are open on my machine?

TJN23

Golden Member
May 4, 2002
1,670
0
0
Is there a software program that can do this? Built into windows? I am not referring to looking at the router config page, I am assuming this is a standalone machine connected to the Internet.

If I installed a web server using something like Apache, it would open up port 80 - how would I check that?

TIA

Tim
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,545
422
126
And you can use an AntiTrojan scanner.

And you can check your system's security by logging to the following page, scroll down, and click on Shields Up.

Gibson Default Page. Gibson Default Page.
 

TJN23

Golden Member
May 4, 2002
1,670
0
0
cool, thanks guys, so why are all these ports listening?

TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1026 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1703 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1705 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1709 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1855 0.0.0.0:0 LISTENING
TCP 0.0.0.0:1860 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2364 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2411 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2412 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2414 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2416 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2422 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2423 0.0.0.0:0 LISTENING

 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,545
422
126
If you have a Network, some of the ports are opened and listening to LAN affairs. This is OK.

If you want to know whether this is projected to the out side world (i.e the Internet) use the links that I gave you above

Ports are not the only thing that should listen. ;):D
 

martind1

Senior member
Jul 3, 2003
777
0
0
Originally posted by: JackMDS
Ports are not the only thing that should listen. ;):D

HAHA.


Quick way to try to find out what those ports are doing, is to do a google search for the port number.

i.e.:

http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=port+445

tada, an explanation.


as Jack says, in a small personalize lan it really only matters what ports are open to the outside, and there are tons of tools that will check that for you.
here is another: http://www.dslreports.com/scan
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Please make sure that those ports are not open to the outside using JackMDS's links. Some of those are awfully nasty.
 

TJN23

Golden Member
May 4, 2002
1,670
0
0
this PC passed the test on the Shields UP link provided by JackMDS

cool thanks guys this is good stuff - I learn more here than in my Internet Security class that costs on the order of $1,400 :disgust:

:beer:
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,545
422
126
LOL. Nice compliment to this Forum. :beer:

You can pass this to the Course teacher.

On Security:

Link to: Basic Protection for Broadband Internet Installation.

Link to: What is the Best Firewall?

Link to: Cable/DSL Routers - NAT & Ports.

Add to this an Adware program to scan for residual ?Junk?.

Link to: Free -Ad-aware 6.181.

A good habit to look from time to time at the StartUp files and see what is loading.

This free program can help: Free - Startup Control Panel.

Another good habit is to look at time on the processing that are running and see if there is some strange unit processing Wildly. Free - Process Explorer.

I use this Trio every few days, take all together few minutes, and might save a lot of aggravation.

 

masteropp

Junior Member
Feb 18, 2004
8
0
0
Here's a link to a good, free port scanner - Nessus. NeWT is the Windows version of the program and is available at the same location.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: masteropp
Here's a link to a good, free port scanner - Nessus. NeWT is the Windows version of the program and is available at the same location.

nessus is a bit much for checking ports, plus I think it uses nmap for actual port scans. Plus, misconfigurations can get you in a lot of trouble ;)
 

TJN23

Golden Member
May 4, 2002
1,670
0
0
Originally posted by: masteropp
Here's a link to a good, free port scanner - Nessus. NeWT is the Windows version of the program and is available at the same location.


is it true that you need a linux server setup somewhere to scan ports with this software?