Check if port on remote server is open without using telnet

If you want to check if a given port is open on a given remote server, you can use telnet. More and more telnet disappears on server. So the question arises: What can we use instead of telnet? Short answer: netcat. For example:

nc -zv 192.168.1.15 22

Which checks if the port 22 (SSH) is open on the server 192.168.1.115

Advertisements

Tags: , , , ,

One Response to “Check if port on remote server is open without using telnet”

  1. Lavinia Castoreno Says:

    It has actually been one of the best blogs i have read. It was really informative.Looking forward for more blogs of this in near coming future

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: