- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnet session cannot be established
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
Forums
Discussions
Discussions
Discussions
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
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-12-2002 03:25 AM
02-12-2002 03:25 AM
telnet session cannot be established
Have you ever seen following telnet response:
# telnet 192.164.18.1
Trying...
can't resolve open-nameserver
can't resolve open-
nameserver.centro.pl.
Unable to connect to a server:
Connection refused
telnet: Unable to connect to remote
host: Connection refused
ping is OK, telnet to 192.164.18.1 is accepted from another host.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 03:30 AM
02-12-2002 03:30 AM
Re: telnet session cannot be established
I am thinking that the hostname for the DNS or NIS Server cannot be resolved? Do you have an entry for 'file' in '/etc/nsswitch.conf?'
Cheers, Ian Dennison
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 04:37 AM
02-12-2002 04:37 AM
Re: telnet session cannot be established
nslookup works fine - resolves hostnames and IP addresses properly.
nsswitch and resolv.conf are OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 04:51 AM
02-12-2002 04:51 AM
Re: telnet session cannot be established
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc863c5ea0230d411ade80090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2cf2a14d9abcd4118fef0090279cd0f9,00.html
First question: Can this host telnet to itself (127.0.0.1)?
Cheers, Ian Dennison
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 04:57 AM
02-12-2002 04:57 AM
Re: telnet session cannot be established
If the telnet service (TCP-PORT-23) is secured in the remote server then we get this error.
in the remote server(192.164.18.1)/etc/inetd.conf telnet service should be enabled (not commented out)
If any entry for telnet service is available /var/adm/inetd.sec file in the remote server then you should make sure it is allowd to your system by specifying "telnet allow
If there is any TCP wrappers running on the server that is configured to den access to telnet session then it has to be configured to allow you.
If you are telnetting from other subnet apart from the subnet where the server present ,then also you get the same error.
If you are behind firewall and the firewall is blocking you to do telnet , you will get "connection timed out error".
-Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 05:01 AM
02-12-2002 05:01 AM
Re: telnet session cannot be established
Do you check this?
If file /var/adm/inetd.sec does not exist, security is limited to that
implemented by the servers. inetd.sec and the directory /var/adm
should be writable only by their owners. Changes to inetd.sec apply
to any subsequent connections.
PD: This is form the man inetd.sec page.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 05:29 AM
02-12-2002 05:29 AM
Re: telnet session cannot be established
You can search for the problem here by searching for reflection and telnet.. but start by suspecting the services and inetd.
Try telnet'ing locally to the same server.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 05:45 AM
02-12-2002 05:45 AM
Re: telnet session cannot be established
I don't remeber seeing such a verbose rejection when we do telnet. Most of the time, the message is unable to connect if there is some connection problem. The probable reason for this rejection could be that there are two duplicate ip's on the network. I had a similar problem, where our DHCP was alloting an ip to a NT workstation which was reserved for a server. Out nslookup and all other things were fine, but the duplicate ip was a problem. When we did the telnet from the workstation it used to reject telnet. When we did it from another server it worked. It was weird. anyway we resolved the problem. We were fortunate in locating the problem by going thru the DHCP poool. If you can, can you shutdown the server and then ping the address and see if the ip is replying back. Hope this is not a firewall issue. We had a firewall setup where to connect to some servers of ours, we have to go through another server which is open to these servers, but the rest of the network is isolated.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2002 07:24 AM
02-13-2002 07:24 AM
Re: telnet session cannot be established
Later,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2002 09:15 PM
02-14-2002 09:15 PM