Solved Check if port on IP is open in CMD?

DextrousDave

New member
Member
VIP
Local time
1:11 PM
Messages
135
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 ip:port' 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 Computer My Computer

Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate x32
CPU
Intel Core 2 Quad Q9400 @ 2.66GHz
Motherboard
MSI
Memory
2048MB
Graphics Card(s)
NVIDIA GeForce GTX 275
Monitor(s) Displays
Generic PnP Monitor
Hard Drives
2x HDD Drives (ATA Devices) 140GB and 368GB
Cooling
Fans
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
thank You Chev65, appreciate
 

My Computer My Computer

Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate x32
CPU
Intel Core 2 Quad Q9400 @ 2.66GHz
Motherboard
MSI
Memory
2048MB
Graphics Card(s)
NVIDIA GeForce GTX 275
Monitor(s) Displays
Generic PnP Monitor
Hard Drives
2x HDD Drives (ATA Devices) 140GB and 368GB
Cooling
Fans
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 Computer My Computer

Computer Manufacturer/Model Number
Self-Built in July 2009
OS
Windows 7 Ultimate x64
CPU
Intel Q9550 2.83Ghz OC'd to 3.40Ghz
Motherboard
Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
Memory
8GB G.Skill PI DDR2-800, 4-4-4-12 timings
Graphics Card(s)
EVGA 1280MB Nvidia GeForce GTX570
Sound Card
Realtek ALC899A 8 channel onboard audio
Monitor(s) Displays
23" Acer x233H
Screen Resolution
1920x1080
Hard Drives
Intel X25-M 80GB Gen 2 SSD
Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
PSU
Corsair 620HX modular
Case
Antec P182
Cooling
stock
Keyboard
ABS M1 Mechanical
Mouse
Logitech G9 Laser Mouse
Internet Speed
15/2 cable modem
Other Info
Windows and Linux enthusiast. Logitech G35 Headset.
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 Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home built
OS
Windows 7 Ult, Windows 8.1 Pro,
CPU
Q9650-4.275GHz, E8600 4.5GHz, E6750-3.8GHz
Motherboard
Evga 780i FTW
Memory
G.Skill PC2 9600 1200Mhz 5 5 5 15 2T
Graphics Card(s)
GTX480
Sound Card
Asus Xonar D2
Monitor(s) Displays
HannsG
Screen Resolution
1680X1050
Hard Drives
GSkill Phoenix Pro 120GB SSD
PSU
ThermalTake Toughpower 1000Watt modular
Case
ThermalTake XaserV
Cooling
Xigmatek S1283
Keyboard
Logitech G15
Mouse
Logitech G9
Internet Speed
T1
Back
Top