Operating System - HP-UX
1820478 Members
2944 Online
109624 Solutions
New Discussion юеВ

Telnet connection refused

 
uadm26
Super Advisor

Telnet connection refused

Hi,
Can you tell me why that command don't work?
# telnet 127.0.0.1 13
Trying...
telnet: Unable to connect to remote host: Connection refused

BUT in /etc/services:
# grep -w 13 /etc/services
daytime 13/tcp # Daytime
daytime 13/udp #

I'm trying to debug a problem whith port connection, and my first test don't work.

Thanks for all
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Telnet connection refused

Shalom,

This is a sign of a few possible things:
1) A firewall between server and client.
2) A firewall like iptables/ipfilter running on the client.

Check:
/etc/ined.conf
tail -f /var/adm/syslog/syslog.log on the server and then try and connect. If you see nothing, see about the firewall. If you see something, check the setup of the telnetd service in /etc/inetd.conf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
uadm26
Super Advisor

Re: Telnet connection refused

Thanks, it's in comment on the /etc/inetd.conf.