- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnet is not working
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
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
тАО01-28-2010 02:59 AM
тАО01-28-2010 02:59 AM
I have a server HP-UX B.11.11
I'm trying to test some applications so that i need to telnet my server ip through a certain Port number 5042
The problem is when i try to ping it gives me error and "closed by foreign host" message.
I check the port and i found it is "listen" and it has an "Established" connection with an external Server.
What could be the reason regarding that issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 06:26 AM
тАО01-28-2010 06:26 AM
SolutionA classic view of a good conection is:
telnet host 5042
Trying...
Connected to localhost.
Escape character is '^]'
The system may close the conection after that, but the initial conection was done.
If the conection fails you may see a message similar like this:
telnet host 4432
Connecting To host...Could not open connection to the host, on port 4432: Connect failed.
HTH
Shoghi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 10:09 AM
тАО01-28-2010 10:09 AM
Re: telnet is not working
but actually the situation is that
I can telnet the server normally
but it fails when i try this port
so i think the port is closed , is that correct , and is there a way to open it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 04:50 PM
тАО01-28-2010 04:50 PM
Re: telnet is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 04:53 PM
тАО01-28-2010 04:53 PM
Re: telnet is not working
You can change telnet daemon default port in HP-UX by changing it's conf file (if you're using inetd, the default conf file is /etc/inetd.conf).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 11:21 PM
тАО01-28-2010 11:21 PM
Re: telnet is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 03:20 PM
тАО02-01-2010 03:20 PM
Re: telnet is not working
_Which_ applications? Test _how_?
> [...] so that i need to telnet my server
> ip through a certain Port number 5042
Why, exactly?
Does one of these "some applications"
normally listen on that port?
> [...] i'll try modifying that file.
Are you trying to talk to a Telnet server or
to "some applications" (which are listening
on port 5042)? Modifying the configuration
of the normal Telnet server may be a very bad
idea.
> but it fails when i try this port
Actual command? Actual error message?
> so i think the port is closed , is that
> correct , and is there a way to open it
You might be better off not thinking about a
port as being open or closed. Either some
program is listening to that port or not.
The error messages you get when you try to
talk to it might say something, but my
psychic powers are too weak to tell me
anything without your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2010 09:42 AM
тАО02-02-2010 09:42 AM
Re: telnet is not working
The problem was solved.
I think i didnt understand the situation very well.
I had to modify the program to connect to the server through that port , as i found the port listening so that it means it was not closed ...
Anyway , i think i recognized the problem because of your help ... thanks everyone