1833813 Members
2204 Online
110063 Solutions
New Discussion

Re: Connection refused

 
Faizer Jameel
Frequent Advisor

Connection refused

Dear All
When I telnet to my hp ux box [ hpux11.11] I get teh following message. I need ur assistance to solve.

Could not open connection to the host, on port 23:connection refused

Thanks
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: Connection refused

Hi:

You may not have 'telnet' enabled. Examine your '/etc/inetd.conf' file. You need a line like:

telnet stream tcp nowait root /usr/lbin/telnetd telnetd

Either uncomment the line or add it and do:

# inetd -c

Regards!

...JRF...
Ralph Grothe
Honored Contributor

Re: Connection refused

There is no service listening at port 23/tcp.
Do what James suggested, and check

$ netstat -an|awk '{if(a[split($4,a,".")]==23){print}}'
tcp 0 0 *.23 *.* LISTEN
Madness, thy name is system administration