Operating System - HP-UX
1748267 Members
3784 Online
108760 Solutions
New Discussion юеВ

Re: telnet: Unable to connect to remote host: Connection refused

 
Sanjiv Sharma_1
Honored Contributor

telnet: Unable to connect to remote host: Connection refused

Hi,

I have a hpux systems A (rp8400/HP-UX 11.11) and B(K460/hpux 10.20).

I have changed the IP of both the system from 15.x.x.x to 16.x.x.x.

I am able to ping and telnet from B to A.
I am able tp ping but not able to telnet from A to B.

What needs to be checked?

Thanks,
Everything is possible
7 REPLIES 7
KapilRaj
Honored Contributor

Re: telnet: Unable to connect to remote host: Connection refused

1. Can u telnet to local host on System A ?. # Check for telnetd (inetd) service
2. Has the systen ran out of memory ?

Regds,

Kaps
Nothing is impossible
G. Vrijhoeven
Honored Contributor

Re: telnet: Unable to connect to remote host: Connection refused

Hi,

You can restart/reconfigure the inetd /etc/inetd.conf.

# inetd -c

The speed and duplex settings of the interface

# lanadmin -x

The hostname resolving on both hosts

# nlookup name and ip-adress


Gideon
T G Manikandan
Honored Contributor

Re: telnet: Unable to connect to remote host: Connection refused

check whether there is a duplicate ip on the network.

check whether your inetd is running?
ps -ef|grep inetd

Else just do a

#/usr/sbin/inetd -c
G. Vrijhoeven
Honored Contributor

Re: telnet: Unable to connect to remote host: Connection refused

Hi,

sorry a typo.....
# nslookup name ane ip-address

Gideon
KapilRaj
Honored Contributor

Re: telnet: Unable to connect to remote host: Connection refused

There is a typo and my sincere apologies

1. Can u telnet to local host on System B ?. # Check for telnetd (inetd)
service
2. Has the systen ran out of memory ?

Regds,
Kaps
Nothing is impossible
john korterman
Honored Contributor

Re: telnet: Unable to connect to remote host: Connection refused

Hi,
perhaps telnet is prohibited for certain ip-adresses in /var/adm/inetd.sec

regards,
John K.
it would be nice if you always got a second chance
Carlos Fernandez Riera
Honored Contributor

Re: telnet: Unable to connect to remote host: Connection refused

B box is 10.20. Best way to change ip on this version is run set_parms.

Next thing you will experience will be that server will not terminate next reboot.

So please run set_parms initial.

unsupported