Link to home
Start Free TrialLog in
Avatar of delphifeng
delphifeng

asked on

can't telnet to self in Mandrake 8.1

I met same question but not be solved today.
I use the Mandrake 8.1 and install full package.
And I had checked the /etc/services and I ping the localhost
have no any problem.
I can ftp to localhost
  can ping to localhost
but telnet get the answer 'telnet: Unable to connect to remote host: Connection refused'

I had entered 'ALL:LOCAL' and 'ALL:127.0.0.1'
in the file '/etc/hosts.allow'

I try my best but can't telnet to self.
Avatar of PLEASE DELETE MY ACCOUNT AND ALL ITS DATA PLEASE DELETE MY ACCOUNT AND ALL ITS DATA
PLEASE DELETE MY ACCOUNT AND ALL ITS DATA PLEASE DELETE MY ACCOUNT AND ALL ITS DATA

I don't know if mandrake uses inetd or xinetd.
If it's inetd, edit the /etc/inetd.conf file and uncomment (IE: Remove the # char) the telnet line. Then, killall -HUP inetd.

This is because telnet is not currently enabled on your system.

If mandrake uses xinetd, well, I've never used it, but there's a configuration file related to the telnet service. It's probably marked as "not enabled" in it (Open it with a text editor, If I'm not mistaken, /etc/xinetd/telnet or something like this, I've only seen this one time when one friend was working with his RedRat machine). After finding this out, restart xinetd as well.

You don't have to add that line to hosts.allow. If there's nothing in hosts.deny, then by default it's all authorized.

ASKER CERTIFIED SOLUTION
Avatar of Gabriel Orozco
Gabriel Orozco
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
delphifeng:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.