Connections to a Computer via Telnet Do Not Work
Support knowledgebase (uwedr_telnet)
Applies to
SuSE Linux: Versions since 7.2
Symptom
When you try to establish a connection e.g. to your own computer via telnet with:
telnet localhost
the connection interrupts and you obtain the following error message:
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Cause
As default setting and due to security reasons, most of the network services are
disabled. The central network daemon, inetd, which activates the telnet
service if required, is also deactivated.
Solution
Activate inetd. You can do this by introducing as root
rcinetd start
The system must be told to automatically start inetd the next time
it starts. This can be done for instance in YaST2:
YaST2-->System-->RC.Config-Editor-->Start-Variables-->Start-Network-->start_inetd
Once there, set the variable START_INETD to yes.
Tip:
Please note that all data transmitted via telnet are unencrypted and thus can be easily tapped.
Even passwords that are not displayed on the screen can be found out during network transmissions.
Therefore, we recommend you to use ssh instead of telnet, since in the former
all data are encrypted. As a standard, ssh is activated in SuSE Linux.
Keywords: TELNET, INETD, LOCALHOST
Categories:
Network
SDB-uwedr_telnet, Copyright SuSE Linux AG, Nürnberg, Germany
- Version: 15. Nov 2001
SuSE Linux AG - Last generated: 20. Nov 2001 by ip (sdb_gen 1.40.0)