SUMMARY:telnet: connection refused

From: Seth Rothenberg <>
Date: Wed Dec 08 2004 - 16:24:06 EST
This is a summary - I had searched the archive, found no answer,
google no answer, but Sun Silver support did have the answer...

telnet was not working...not from any host....not even telnet
telnet localhost got me telnet: Unable to connect to remote host:
Connection refused

ftp worked, rsh worked, ssh worked...just telnet not working, 
suggesting it is not an inetd problem.

This is a Production Server. Reboot is not an option.
Stopping and restarting inetd did not help.
This is Solaris 2.6 on Sun Enterprise 4500.

netstat -an | grep '[.]23[ ]'  showed several sessions ESTABLISHED,
*.23 with status BOUND.

That's wrong.  Our other server had *.23 with state of LISTEN

ps -eaf | grep telnet showed several sessions.
Fortunately, we know that our prod server has few human users...
so I told one person to log out, found a few old sessions that
were not associated with real sessions, so I killed them,

Then I sent a HUP to inetd
kill -1 <processID>

and the problem was resolved.

Thanks Sun!

sunmanagers mailing list
Received on Wed Dec 8 16:28:27 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:40 EST