Today's article is NOT about SSH - though I suppose you could use it as a related tool... Want to check to see if a specific port is open?

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
11,696
Reaction score
10,237
Credits
96,792
Well, you can check to see if a specific port is open. It's not even all that difficult and it works locally and remotely. You can even check to see if a website has a specific port open and, if the server responds, you'll know if it is open or closed.

Let's say you've changed the port SSH uses and you want to make sure the new port is open, you can do that! You can do quite a bit with this.


You might want to keep reading past the 'closure' bit. I just kept on typing! The article is a bit longer than some, but not too long. I do love me some feedback.
 


Bash:
Shell
nc -zv localhost 22
nc -zv localhost 80
# or use netcat instead of above

to create a cheat sheet. I use "nmap" bc it's hot.
Bash:
nmap -v -A 127.0.0.1
 

Members online


Top