Operating System - Linux
1824485 Members
4307 Online
109671 Solutions
New Discussion юеВ

Unable to connect remote host connection refused

 
Deepakjain
New Member

Unable to connect remote host connection refused

Hello Friends

I am using Linux 6.2 in my machine.I installed properly linux in my machine..
Network card is proper intstalled.There after i checked network card through ping.it is working properly..

When start telnet in linux machine,it gives host name Look up failure...

Thereafter i type telnet respective hostname of the machine, then it gives "Unable to connect remote host connection refused." I read all the article in ur site,but i didnot got any solution to start telnet service in my machine..

Second thing there is not file as per ur suggestion in ur mail /etc/xinted/telnet. There is /etc/inetd.conf file.In this file there is no word realted to telnet or ftp.



if you have any solution to start telnet in my machine.it is my pleasure to all of them.and send the solution in my respective email id

MY email id deepakjainus@rediffmail.com


Thanks


deepak
4 REPLIES 4
Alexander M. Ermes
Honored Contributor

Re: Unable to connect remote host connection refused

Hi there.
In your inetd.conf there should be a line like this :

telnet stream tcp nowait root /usr/lbin/telnetd telnetd

in one line.
This is a copy from a HP-UX inetd.conf.
Change the directory for your telnetd in this line and it should work.

Restart the inetd daemon ( parameters from the man page ).
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Deepakjain
New Member

Re: Unable to connect remote host connection refused

Thanks Sir

Sir i am using linux 6.2 in local machine. It is not in the Hp machine.There is no word telnet in the "inetd.conf" file.
Second thing is that there is no file "telned" in the linux system.but telnet file is avaiable in the /usr/bin directory.i linked that file in /usr/sbnin directory. But it did not work.

I put this line in my inetd.conf file
telnet stream tcp nowait root /usr/sbin/telnet telnet
subsequently restart my machine.but it didnot work.

Ping is proper working.When I installed oracle in my linux machine. Subsequently connect to client machine,it works properly.

Give me another solution.what should i do to start telnet in my client machine as well as server.



With Rgds
Deepak

deepak
Wodisch
Honored Contributor

Re: Unable to connect remote host connection refused

Hello,

it seems you'll have to install the "rpm" for the telnet-daemon (telnetd) first!
"telnet" is the *client*, NOT the *server*...

HTH,
Wodisch
Mark Fenton
Esteemed Contributor

Re: Unable to connect remote host connection refused

Sounds like the Linux box was set up as a workstation vice server. As Wodish advises, the telnetd package needs to be installed. Merely adding a line in inetd.conf for telnet won't solve the problem.

If you still have the distribution CDROMs, cd to the RPM directory on the CD and run the command Wodish lists. If the install bombs on the analysis phase, at least it'll tell you what else will need to be installed to make it all work.

Happy telnetting.