Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Check if port on IP is open in CMD?

04 May 2012   #1

Windows 7 Ultimate x32
 
 
Check if port on IP is open in CMD?

Hi All

I would like to know if there is a way I can test if a specific port is open on an IP address and if my PC can connect to that port?
How do you do this from Command Prompt? 'telnet iport' does not seem to work since it just says 'telnet' is not recognized as an internal or external command.

I do not want to use a website to do this, since they will test if they can make a connection from their servers to the ip port in question, not if the port between my IP address and the ip in question is open.

I know about NMAP and Netcat, but don't know how that works.

What is the best way to do this in windows?

Thanks

My System SpecsSystem Spec
.

04 May 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 Ult, Windows 8.1 Pro,
 
 

Type netstat -? into command prompt. It will list all the options, choose the one you want.

Type "netstat -a" in the Command Prompt window, and press "Enter." The computer displays a list of all open TCP and UDP ports.

Look for any port number that displays the word "LISTENING" under the "State" column.


If you need to ping through a port to a specific IP use telnet.

http://www.ehow.com/how_8297516_ping-port.html
My System SpecsSystem Spec
04 May 2012   #3

Windows 7 Ultimate x32
 
 

thank You Chev65, appreciate
My System SpecsSystem Spec
.


04 May 2012   #4

Windows 7 Ultimate x64
 
 

The telnet client is not installed by default. You have to go into Add/Remove Program and then Windows components and choose to install it.
My System SpecsSystem Spec
04 May 2012   #5

Microsoft Community Contributor Award Recipient

Windows 7 Ult, Windows 8.1 Pro,
 
 

Quote   Quote: Originally Posted by pparks1 View Post
The telnet client is not installed by default. You have to go into Add/Remove Program and then Windows components and choose to install it.
Correct, and the link I provided explains how to do that.

Enable telnet if you have a later version of Windows such as Windows Vista or Windows 7 and have not previously done so. To access this feature, click the "Start" button and select "Control Panel." In the menu that pops up, choose "Programs and Features" and the "Turn Windows Features On or Off" menu. Turn on "Telnet" by selecting its check box.
My System SpecsSystem Spec
Reply

 Check if port on IP is open in CMD?





Thread Tools



Similar help and support threads for2: Check if port on IP is open in CMD?
Thread Forum
Solved how to check which USB port is v2 resp v1? Hardware & Devices
How to check open port on LAN Network & Sharing
Solved Cannot connect to any open port Network & Sharing
Stealth Port 80- Open. System Security
Open port for utorrent Network & Sharing
Windows 7 cannot open a port Network & Sharing
Error 633 Open Port!!! Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:04 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33