How to perform a Telnet?

How to perform a Telnet?

Telnet is an application that is used to connect to a remote host’s command line terminal interface. Network and system administrators use this application to administer network devices. Although telnet has become obsolete for remote administration purposes this application is still widely used to verify connectivity to remote services that are based on TCP. In a client-server architecture, you can use telnet to make sure that no firewalls in between are blocking incoming connections to the server.

The telnet command syntax is the following: telnet host port

For example, if you want to test connectivity to a remote service using port 9000 on any host, you’ll have to type: tenlet <<IP/hostname>> 9000

If the service is running with no firewalls in-between blocking incoming connections, the telnet command will return the following prompt:


                 

Let’s see what happens when a firewall in between is rejecting connections:

                 

In this case, telnet is returning the message “Connection refused” to communicate to the user that a firewall is blocking connections to the specified TCP port on the remote host. In this scenario, telnet is failing. It could be because of any of the below reasons

1) A network or host firewall is dropping incoming connections.
2) The remote is down.
3) Network connectivity between the client and server is unavailable for some reason.
4) The service on the client may not be running on the specific port.

In this case, further troubleshooting is required, such as verifying with a traceroute from the client side where the connection is interrupted or getting in touch with the administrator of the remote host to ask whether the remote service is running and allowed by any firewall in between.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Steps involved in executing a Telnet

                      Telnet is an application used to connect to a remote host's command line terminal interface. It was traditionally utilized by network and system administrators for administering network devices. However, telnet has become obsolete for remote ...
                    • Perform actions in ServiceDesk Plus On-Premise from JIRA Cloud using automation rules

                      Create a request and perform similar actions in ServiceDesk Plus On-Premise from JIRA cloud Overview: This document outlines the steps to integrate JIRA with ServiceDesk Plus (SDP) using JIRA's native automation rules. This integration allows ...
                    • Deluge script to detect the array size of number/s in description, check the starting integer and perform an action

                      - > The below script would detect if the description contains a 16 digit number or more than one 16 digit number and check if that 16 digit number starts with 1,3,4,6 etc.,  It can be modified as per requirement.  - > Based on the above check, a ...
                    • Performance Debug

                      For Performance/slowness issues instead of taking Threaddump manually or instead of invoking PerformanceTool make use of the below URL when the issue occurs, http://servername:portnumber/servlet/PerformanceDebug The above URL works even when the ...
                    • How to address Performance issue ?

                      Application will face the performance issue because of couple of reasons. 1. System requirements are not met: Refer this link to ensure the specifications are met as per the standards. 2. Application architecture should be 64-bit for better ...