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

Trying 62.158.208.25…
Connected to <hostname>
Escape character is ‘^]’.
SSH-1.99-OpenSSH_5.0

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

Advertisements

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: