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

telnet help for redhat linux

Status
Not open for further replies.

maryam421

MIS
Apr 5, 2004
102
US
Hi,
I am trying to trying to set telnet service for my newly redhat linux server 8.1
So far I have changed the entry disable = no in telnt and telnetd files.
When I check chkconfig --list, it does show telnet and telnetd on.
when I can ping any server within the network but when I try to telnet the linux server it is not allowing me to do that giving me the following message:

Connecting To 192.168.0.113...Could not open a connection to host on port 23 : Connect failed.


I can telnet to different servers from this server but other server cannot.
I also changed the hosts.allow file and put the ipaddress of the other servers.
But no use.
Any help would greatly be appreciated.
I am very new to this subject.
Thanks
 
Have checked if the firewall is up 'n running...try this ntsysv in command prompt.

G.L.

T.k.
 
Thanks for replying.
There are too many entries in it. Which one I should look for?
Once again thanks for your help.
 
Do you even know if telnetd is running ?

netstat -a |grep LISTEN

and look for a service listening on "*:23" or "*:telnet"

--------------------------------------------------
Free Database Connection Pooling Software
 
If the server is running (see sedj's post), and your not getting a responce, try to telnet from the machine to that machine using the loopback:
Code:
telnet 127.0.0.1
Check /var/log/messages for dropped packages
If your running a firewall, is it hardware or software?
  Software:
     Your probably using iptables (even if indirectly).
  Hardware:
     Log in using the web interface or software that came with it and allow access to port 23.  You may have to set up port forwarding.
 
You might also be better off with SSH as telnet is notoriously insecure...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top