- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- telnet: Unable to connect to remote host: Connecti...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 06:11 AM
тАО02-06-2002 06:11 AM
telnet: Unable to connect to remote host: Connection refused
I'm trying to connect from
There is neither a .rhosts nor e hosts.equiv file.
Is there anyone who has an answer to this ?
Thanks
Rolf Kuhfuss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 06:16 AM
тАО02-06-2002 06:16 AM
Re: telnet: Unable to connect to remote host: Connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 06:17 AM
тАО02-06-2002 06:17 AM
Re: telnet: Unable to connect to remote host: Connection refused
See if inetd is running on both machines.
If not restart it.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 06:18 AM
тАО02-06-2002 06:18 AM
Re: telnet: Unable to connect to remote host: Connection refused
If so, is there a 'telnet deny ' entry that has serv1's name or IP address?
If that is there, then telnet would be denied from server1 to server2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 06:19 AM
тАО02-06-2002 06:19 AM
Re: telnet: Unable to connect to remote host: Connection refused
Check and see if there is a duplicate ip on the network. If you are trying to connect using the server name try using the server ip address.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 06:39 AM
тАО02-06-2002 06:39 AM
Re: telnet: Unable to connect to remote host: Connection refused
Check /var/adm/inetd.sec file on server2 and
see whether there are any 'deny' entries for server1.
Check the /var/adm/syslog/syslog.log file on server2 to see the messages related to server1 telnet entries
eg: grep server1 /var/adm/syslog/syslog.log
(this will definitely give a pointer to where the problem is ).
Other probable reasons could be, lack of pty entries, reaching session limit etc.
This can be confirmed by logging of few existing sessions on server2 and then trying telnet from server1. Try doing rlogin too, to make sure about this.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 06:45 AM
тАО02-06-2002 06:45 AM
Re: telnet: Unable to connect to remote host: Connection refused
Can server1 ping server2?
Have you tried from server1, telneting to server2 using server2's IP?
Can you telnet from server2 to server1?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 07:16 AM
тАО02-06-2002 07:16 AM
Re: telnet: Unable to connect to remote host: Connection refused
I've tried any proposals you have made, but none of them helped...
a few futher info's: I'm able to ping other servers in the network or start telnet-sessions, DNS is also working (no errors) on both,
strange, isn't it
regards
rolf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 07:33 AM
тАО02-06-2002 07:33 AM
Re: telnet: Unable to connect to remote host: Connection refused
It might sound silly but what type of servers are you trying to telnet?
Because to get to such result IMHO its either a unix or VMS server in a (very) bad state (just before a crash?) or an NT:
VMS case (Its live.. happening now...)
ping geos2
PING geos2.ceti.etat-ge.ch: 64 byte packets
64 bytes from 160.53.40.45: icmp_seq=0. time=2. ms
64 bytes from 160.53.40.45: icmp_seq=1. time=1. ms
64 bytes from 160.53.40.45: icmp_seq=2. time=1. ms
64 bytes from 160.53.40.45: icmp_seq=3. time=1. ms
64 bytes from 160.53.40.45: icmp_seq=4. time=1. ms
64 bytes from 160.53.40.45: icmp_seq=5. time=1. ms
----geos2.ceti.etat-ge.ch PING Statistics----
6 packets transmitted, 6 packets received, 0% packet loss
round-trip (ms) min/avg/max = 1/1/2
octant:/export/f $ telnet geos2
Trying...
Connected to geos2.ceti.etat-ge.ch.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.
NT - Very close to what you describe:
$ ping bouclier
PING bouclier.ceti.etat-ge.ch: 64 byte packets
64 bytes from 160.53.122.57: icmp_seq=0. time=0. ms
64 bytes from 160.53.122.57: icmp_seq=1. time=0. ms
64 bytes from 160.53.122.57: icmp_seq=2. time=0. ms
----bouclier.ceti.etat-ge.ch PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
$ nslookup bouclier
Using /etc/hosts on: klein
looking up FILES
Trying DNS
Name: bouclier.ceti.etat-ge.ch
Address: 160.53.122.57
$ telnet bouclier
Trying...
telnet: Unable to connect to remote host: Connection refused
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 07:56 AM
тАО02-06-2002 07:56 AM
Re: telnet: Unable to connect to remote host: Connection refused
can server 2 telnet to itself
can server 1 telnet to itself
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 08:01 AM
тАО02-06-2002 08:01 AM
Re: telnet: Unable to connect to remote host: Connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 08:02 AM
тАО02-06-2002 08:02 AM
Re: telnet: Unable to connect to remote host: Connection refused
Did you see any messages related to the telnet session on the syslog file of server2?
Make sure the inetd is running in the log mode
(inetd -l will do it) and then monitor the syslog.log file, even as you login to the system from server1.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2002 08:17 AM
тАО02-06-2002 08:17 AM
Re: telnet: Unable to connect to remote host: Connection refused
Since from the source system, you are able to ping that server and you are also able to telnet to other servers,
1) telnet is specified correctly in /etc/services
2) there is a network route to that server
I would suspect that it is likely one of the following causes:
1) inetd service not running on that server. Check using:
# ps -fae|grep inetd
2) inetd service was not forced to re-read the configuration file after uncommenting telnet. Re-read configuration using:
# inetd -c
3) /var/adm/inetd.sec is restricting telnet accesses. Check using:
# grep telnet /var/adm/inetd.sec
4) tcpd (tcpwrapper) is used to restrict telnet accesses. Check using:
# grep tcpd /etc/inetd.conf
5) running out of any of nstrtel, nstrpty, npty kernel resources on the destination server. Check after failed attempt using:
# tail /var/adm/syslog/syslog.log
Hope this helps. Regards.
Steven Sim Kok Leong