telnet a localhost
linux, telnet
Solution
Apparently you don't have telnet server running locally, at your machine.
To have a look how telnet command works, you could do next:
telnet debra.dgbt.doc.ca
telnet example.com 80
Problem
Hi I am trying to understand network command like ssh and telnet. Unfortunately I dont have any other system besides my own so I am testing with localhost only. while i am able to do ssh locally when I am trying to do telnet locally I am getting this error Command I am trying is telnet localhost, I am not entering any port no. Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Trying fe80::1... telnet: connect to address fe80::1: Connection refused telnet: Unable to connect to remote host If I am able to do ssh locally, same should apply for telnet as well right?