Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet Connection Refused

Status
Not open for further replies.

sheel

Technical User
Mar 9, 2001
74
I just installed Redhat 7.0 Linux. But everytime i telnet localhost or Ip to Linux i get error message
Telnet: unable to connect remote host: Connection refused.

Thankyou in advance....

 
Is the telnet daemon (telnetd) running? Run ps -ef |grep telnetd to check. Also check /etc/services to make sure it is not commented out with a "#" on the "telnet" service stanza, and check /etc/inetd.conf for the same thing. d3funct
vanya43@yahoo.com
The software required `Windows 95 or better', so I installed Linux.

 
There are 2 files you should check that they not have a #
as the first character (comment)

/etc/services
/etc/inetd.conf

If they are commented out, uncomment them. Just note
that you are opening an insecure service to you network!
 
You must delete the file "securetty" under /etc. (type rm /etc/securetty) Once that file has been removed you should be able to telnet in.

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top