You can use various methods to check open ports of a server. Old school Telnet is the command prompt tool you can use easily for a 1 targeted host.
Telnet
Let's say I need to know whether https (TCP port 443) is available at facebook.com
The command would be;
telnet facebook.com 443
If it is open, it will give an output telling connecting... and then the screen will be totally black..
To quit from the connection, you should hit Ctrl + ] keys and type quit.
Now let's try the same thing from Cisco CLI;
To quit from the session, you should hit Ctrl + Shift + 6 and release and enter X
It will go back to the Cisco CLI again but will not really disconnect the session, If you hit Enter it will continue the session again. So you need to type disconnect and hit enter..
TCPING
TCPING is a small Windows command prompt tool I use which does basically the same thing in a different way. You can download it from their official site
https://www.elifulkerson.com/projects/tcping.php
I have unzipped the folder and pasted the contents into the System32 folder.
It is simple; tcping facebook.com 443 command will show the replies if open.
Scanners
If you need to scan an entire network/subnet for open ports, you should use a network scanner. There are plenty of them and they are very easy to use. One I use in Windows is Advanced IP Scanner..
No comments:
Post a Comment