- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Telnet: Connection closed by foreign host.
Operating System - HP-UX
1820072
Members
2518
Online
109608
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО03-19-2001 10:38 AM
тАО03-19-2001 10:38 AM
I have an HP-UX 11.0 box which is trying to telnet to a specific port on a test server. When it attempts to connect, I get the following messages ...
#telnet 1xx.2xx.xx.xx 28201
Trying...
Connected to 1xx.2xx.xx.xx.
Escape character is '^]'.
Connection closed by foreign host.
When attempting this with a different HP-UX 10.20 box, it seems to connect without difficutly.
Any ideas where to start with this one?
Thanks in advance,
Mike
#telnet 1xx.2xx.xx.xx 28201
Trying...
Connected to 1xx.2xx.xx.xx.
Escape character is '^]'.
Connection closed by foreign host.
When attempting this with a different HP-UX 10.20 box, it seems to connect without difficutly.
Any ideas where to start with this one?
Thanks in advance,
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might almost treat each other as we should." Dale Carnegie
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2001 10:45 AM
тАО03-19-2001 10:45 AM
Solution
Is port 28201 set up on the box you are telnet'ing to? Does it allow telnet connections? That is an unusual port number. If the entries are correct in the inetd.conf and services files, then you might try recycling the inet daemon by doing an 'inetd -c' (assuming this is an HP box).
Another thing to check, again if this is an HP box, is the /var/adm/inetd.sec file. If that file exists, see if you are allowing telnet access from the IP address that you are telnet'ing from.
Another thing to check, again if this is an HP box, is the /var/adm/inetd.sec file. If that file exists, see if you are allowing telnet access from the IP address that you are telnet'ing from.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2001 12:51 PM
тАО03-19-2001 12:51 PM
Re: Telnet: Connection closed by foreign host.
We are able to telnet to the box using that port number (it is a specific setup) from the HP-UX 10.20 box and apparently it is functioning without difficulty. However, we get the error message when trying it from the HP-UX 11 box.
I am the administrator of the machine and I actually have no data to pass through the port so I cannot verify the how and whats, I am only able to successfully get a connection.
Hope this helps. Thanks again!
Mike
I am the administrator of the machine and I actually have no data to pass through the port so I cannot verify the how and whats, I am only able to successfully get a connection.
Hope this helps. Thanks again!
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might almost treat each other as we should." Dale Carnegie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2001 01:29 PM
тАО03-19-2001 01:29 PM
Re: Telnet: Connection closed by foreign host.
Do you have tcpwrapper loaded on the test box. Check your /etc/hosts.allow on the test box to ensure the ip address of the 11.0 system is allowed telnet to the test box.
As stated above, check the inetd.sec on the test box.
...jcd...
As stated above, check the inetd.sec on the test box.
...jcd...
If I had only read the instructions first??
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP