chazhs
asked on
Unable to connect thru telnet
netstat -na | grep :23 does not give any output.
That means my xinetd is not listening ?
How do I make it listen ?
I have installed telnet
And my /etc/xinetd.d/telnet file looks like
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
Also note, ps -ef | grep xinetd gives nothing.
Does it mean xinet is not running ?
I did do xinet restart and it says xinetd started succesfully.
That means my xinetd is not listening ?
How do I make it listen ?
I have installed telnet
And my /etc/xinetd.d/telnet file looks like
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
Also note, ps -ef | grep xinetd gives nothing.
Does it mean xinet is not running ?
I did do xinet restart and it says xinetd started succesfully.
ASKER
telnet localhost also gives connection refused error. (same error as above)
have you installed telnet server which is not installed by default?
ASKER
Yes, I did. rpm -q telnet-server says telnet installed.Thanks!
the script that deals with xinetd should be under /etc/init.d
go to that directory and issue;
./xinetd status
if it says that it does not work, issue
./xinetd start
hope this helps...
go to that directory and issue;
./xinetd status
if it says that it does not work, issue
./xinetd start
hope this helps...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thankyou Sir! That was the problem.
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
ASKER
Thankyou Sir! That was the problem.
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
ASKER
Thankyou Sir! That was the problem.
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
Telnet was off.
Turned it on now, and everything looks great :)
Thanks for yours and everyones help!!!
>> telnet localhost
If you can then it may be that you have some firewall rules in place on the machine (or its gateway). It could also be that you have some access restrictions in '/etc/xinet.conf'