Telnet Command In Linux

Chapter: Linux Commands Last Updated: 13-08-2019 03:40:30 UTC


            /* ............... START ............... */
$ telnet 8080
Connected to
Escape character is '^]'.

/* Above command telnet is used check whether the host is communicating with the specific port */

$ telnet 22
Trying 2606:4700:30::681f:5d8b...
Trying 2606:4700:30::681f:5c8b...
telnet: Unable to connect to remote host: Network is unreachable

/* Port 22 is not opened for and giving unable to connect message */

                /* ............... END ............... */


 Telnet Command In Linux


  • Telnet Command Syntax : telnet [host] [port]
  • Telnet command in linux is used to communicate with another host with Telnet Protocol.
  • In telnet command you have to provide the host and port to connect to the protocol.
  • If you are given any port which is not open for this host, telnet command will give message "Unable to connect to remote host: Network is unreachable".
  • port number is optional, by default it goes to port 23.


Telnet Command In Linux, telnet command with port , telnet command example, Telnet command with host and port

Similar Programs Chapter Last Updated
Netstat Command In Linux Linux Commands 13-08-2019
Linux Command To Create A File Linux Commands 23-05-2019
Linux echo Command Linux Commands 05-05-2018
Linux Ping Command Linux Commands 05-05-2018
Linux ls (List Directory) Command Linux Commands 17-03-2018