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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to connect to host using telnet

Status
Not open for further replies.

kmz

Technical User
Oct 3, 2000
22
GB
We are getting the following error message when we try to do a telnet, and have also checked the telnet daemon which is running fine.

Unable to connect to host hp02base

Tried to check the telnet port, the following message appears:

telnet hp02base 23
Trying...
telnet: Unable to connect to remote host: Connection refused

Woyld appreciate someones help, thanks.

KMZ
 
Hi Mike,

The following is the entry in the /etc/services file:

telnet 23/tcp # Virtual Terminal Protocol

Regards

KMZ
 
I am not sure if you have already found the answer for this, but make sure that telnetd is able to run. Check the permissions on the file. I believe this process is run by root. This is the daemon that the telnet connection runs through.
 
You should also look in the /.rhosts file, (its a hidden file) to see if the workstation that you are telneting from is there. By getting connection refused I going to assume that the host tables in /etc/hosts are good and the IP addresses are being resolved.

CHEERS
 
Hi,
I am not sure whether u have found a solution to the problem . Please check the secondary security file for telnetd. It is located at /var/adm/inetd.sec . This should be having a list of entries(system names) that is allowed to telnet to the system under question. Please check whether the system name from which u r trying to telnet is available in the remote systems inetd.sec file .Hope this resolves the problem . Good luck !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top