telnet connection refused
i am configuring suse 8.0 and i can't telnet to my machine. can't telnet to 127.0.0.1 from within either.
i get error message "connection refused" on loopback address. and when i'm trying to telnet from my windows box, i get "connection to host lost" before it gives me a login dialog. inetd is started becuase i can ftp to my machine with no problem. i checked the settings in inetd.conf and the telnet line is not commented out. i also checked the rc.config and the ports are open. i also can't send mail from the command line. (e.g. /usr/sbin/sendmail root < message) i get a connection refused. any ideas?? thanks, h |
did you start the telnet daemon?
Are you running a firewall? Is the sendmail daemon started? |
Hi hcmk,
You can do a nmap to see if you have any listeners for these daemons on you system. Alternatively you can use YaST2 con check the status of the daemon and also activate them if they are not running. Try YaST2->Network Basic ->Strat Stop Service( Inetd). Her you can see what processers are active and also activate process. Thanks, Manas |
thanks everyone for your help.
it's fixed. |
SuSE 8.0 telnet failure
What did you do to correct the problem? I have been fighting this for weeks.
Thanks |
how did you solve the problem?
hello sir,
by the way how did fix the telnet problem? plese let me know i have the same problem kalyan |
i am trying to remember how i solved the problem. i believe that it was as simple as inetd was not scheduled to run at startup. i edited the runlevel editor to start inetd in runlevels 3 & 5. then i rebooted. it has been fine since then. for some reason in SuSE 8.0 inetd is not enabled by default on install. i had just installed 8.0 and i thought it would be.
|
I have the same problem for weeks:
telnet/ftp localhost return "Connection refused" I have no firewall installed. What exactly should I do to make it work? |
you should use the search button up there, and make sure you try all the standard anwers first...
|
it's probably disabled in xinetd.d/telnet if your system has that
[david@www david]$ cat /etc/xinetd.d/telnet # default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet { disable = yes flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID } |
as far as ftp goes
[david@www david]$ cat /etc/xinetd.d/wu-ftpd # default: on # description: The wu-ftpd FTP server serves FTP connections. It uses \ # normal, unencrypted usernames and passwords for authentication. service ftp { disable = no socket_type = stream wait = no user = root server = /usr/sbin/in.ftpd server_args = -l -a log_on_success += DURATION USERID log_on_failure += USERID nice = 10 } |
and of course make sure the servers are running
|
This post seems a little cluttered, so I would like to clarify.
On SuSE (8.0 and 8.1 at least), telnet is not enabled by default. First you need to make sure 'inetd' and 'telnet-server' are installed. Then you need to start 'inetd' using the runlevel editor in YaST2. Finally you need to edit your inetd.conf, the simplest way to do this is using the 'Start/stop services (inetd)' in YaST2. You do not need to start a telnet server, inetd takes care of this. One final point, you should really be using SSH rather than telnet. In addition to being more secure, it supports file copying (scp and sftp) and X11 forwarding. >> inetd is started becuase i can ftp to my machine with no problem. HCMK, FYI (just incase you have spotted it yet) ftp is an independant service (in SuSE), and is not started by inetd. |
I was having problems, this worked for me in Ubuntu 6.06:
Install inetutils-telnetd and xinetd. Verify that the file /etc/xinetd.d/telnet contains: Code:
service telnet |
All times are GMT -5. The time now is 01:30 PM. |