To check whether a paricular port is listening or not

We can easily check wheter a specifc port on a server is listening or not using telnet command.

telnet <hostname/IP> <Port>

and if everything goes correct u will get the following message

Connected to <hostname>
Escape character is ‘^]’.

Then press ctrl+}

you will get a prompt and from here you will also be able to diagonise whether the service is running properly or not using some special command to that port.

To exit from here press ctrl+d

Leave a Reply

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

You are commenting using your 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: