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 ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • How to change the database from MySQL/PostgreSQL to MSSQL

                        The steps mentioned below are applicable only if you migrate the DB from PgSQL to MSSQL. This means that the application server is going to remain the same. The data alone is going to be transferred to MSSQL DB from the existing PgSQL DB.    For ...
                      • How to change the database from MSSQL to PostgreSQL

                        The steps mentioned below are applicable only if you migrate the DB from MSSQL to PgSQL. This means that the application server is going to remain the same. The data alone is going to be transferred to PgSQL DB from the existing MSSL DB.    For ...
                      • Update Change Impact based on Selected Assets Business impact value

                        This requirement includes 3 global functions, 1 change custom action and 1 change custom trigger.   Step 1: getConfiguration Global Function   1) Go to Admin ->  change custom function -> global function-> Add new --> Mention function name and Return ...
                      • How to configure permissions for Postgresql Database in Linux?

                        Note : Applicable only for Linux Distribution Servers In Linux machines, due to customer environment configuration, we have been facing several issues when migrating the Application that involves upgrading PostgreSQL to higher version. Particularly, ...
                      • Restore: Zreports folder missed during restore

                        Issue: Zreports folder is missed during restore. Workaround: 1)Extract the 1.jar present in the attached fix.fjar. (Provided fix.fjar is compatible to build 13002) 2)Place the extracted 1.jar in <servicedesk-home>/lib 3)Rename the zreports folder ...