- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnet: connection refused only from HP-UX; wi...
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
03-04-2008 08:13 AM
03-04-2008 08:13 AM
telnet: connection refused only from HP-UX; windoze works!
Why would it work for windows but not for HP-UX? Our phone switch var can't answer this question and want us to revert to pulling data from the rs-232 printer port which, I think, is ludicrous.
Any help will result in a big 'THANKS!' and points to boot!
Thanks,
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 10:04 AM
03-04-2008 10:04 AM
Re: telnet: connection refused only from HP-UX; windoze works!
Is there a firewall between the HPUX server(s) and the phone equipment ?
Does the phone equipment have any security settings ( i.e. restrict connectivity from IP ranges ) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 10:10 AM
03-04-2008 10:10 AM
Re: telnet: connection refused only from HP-UX; windoze works!
No there is no firewall and, since I'm able to telnet to the phone equipment from my PC, which is in the same subnet as my HP box, IP restriction cannot be an issue.
Nonetheless, thanks for the effort!
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 10:15 AM
03-04-2008 10:15 AM
Re: telnet: connection refused only from HP-UX; windoze works!
Does the phone equipment do reverse lookup or ident security that could be successfull for the PC but not the HPUX server(s)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 11:04 AM
03-04-2008 11:04 AM
Re: telnet: connection refused only from HP-UX; windoze works!
"I get a connection refused error" ... This error message clearly means that a box somewhere refuses the connection. Some silly ideas ... :
HP-UX itself ? I have a very little knowledge with IPFilter (B9901AA) but is there any possibility that it could be configured on the HP-UX box itself to prevent some TCP connections ?
Routing ? Ok, you are in the same subnet : HP-UX, phone switch and windoze PC. So what about ARP ? Could you check from PC and from HP-UX that the IP of the switch resolves to the same mac address (arp -a) ? Is it possible to take a look at arp cache of the switch ?
Firewall ? "... and, since I'm able to telnet to the phone equipment from my PC, which is in the same subnet as my HP box, IP restriction cannot be an issue." IMHO it cans if the switch itself provides some basic firewalling. Your answer to Tim on this point is not clear enough.
And yes, reverse lookup is often missconfigured bye windoze dns admins ... Is you switch a DNS client ?
Hope this will help
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 11:13 AM
03-04-2008 11:13 AM
Re: telnet: connection refused only from HP-UX; windoze works!
The problem is that the var for the phone equipment knows no Unix and little networking. The manufacturer, who will deal *only* with the var, doesn't know Unix and doesn't care. They say "It works with Windows OS and that's good enough for us".
I am going to forward this thread to the var, but don't actually expect much forthcoming, but one never knows....
Thanks for your salient questions. I will post any resolution.
Best regards,
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 12:36 PM
03-04-2008 12:36 PM
Re: telnet: connection refused only from HP-UX; windoze works!
> rp5470, I get a connection refused error.
When you try _what_, exactly? Normally,
"connection refused" means that you've
reached the remote system, but that you're
trying to talk to a port where no one is
listening. A sufficiently clever intervening
firewall can cause the same effect.
From your detail-free description, it's hard
to say whether you're talking to the right
system on the right port. Have you tried it
by address instead of by name? How sure are
you that you're specifying the right port?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 01:06 PM
03-04-2008 01:06 PM
Re: telnet: connection refused only from HP-UX; windoze works!
The command I'm using is:
telnet 172.20.131.3 1752
I am able to ping the IP and also am able to execute this exact command from my PC with success. Further, I am able to establish a telnet connection from my HP Unix server on port 23; I get a 'login:' prompt.
My PC and HP server are both on the same subnet, and I've been told by our network administrator that there is no firewall involved.
I think I should also mention that while the HP server's IP address is 139.64.100.1 and the phone equipment's IP address is 172.20.131.3, I have attached the routing table entries for both my HP box and my PC.
Thanks,
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 01:13 PM
03-04-2008 01:13 PM
Re: telnet: connection refused only from HP-UX; windoze works!
I seem to have given some misleading information: The error is not 'Connection Refused' but is 'Unable to connect to remote host: Connection timed out'
Sorry about that, I've been dealing with a different problem involving refused connections.
I'm sure this makes a difference. Again, sorry 'bout that!
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 01:28 PM
03-04-2008 01:28 PM
Re: telnet: connection refused only from HP-UX; windoze works!
> information [...]
This is what makes copy+paste so useful.
(And you needed a 40KB Word document for a
smidge of text?)
> I am able to ping the IP and also am able
> to execute this exact command from my PC
> with success.
Ok. And what is the PC's IP address?
> Further, I am able to establish a telnet
> connection from my HP Unix server on port
> 23; I get a 'login:' prompt.
That's port 23 of the Mitel gizmo, right?
If you can connect to one port on the device,
then it would seem that the routing and DNS
stuff can't be too bad. Not knowing all the
IP addresses involved, I can only guess that
the Windows system is on a different subnet,
and that the Mitel gizmo restricts access to
its port 1752 in some way (unknown to me).
"Connection timed out" could mean many
things, but we seem to have eliminated
routing, and all other generic comm problems,
so I'm left suspecting an uncooperative
attitude at the Mitel end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 01:35 PM
03-04-2008 01:35 PM
Re: telnet: connection refused only from HP-UX; windoze works!
The PCs IP address is 139.64.104.9. Yeah, on the same subnet!
>I'm left suspecting an uncooperative
>attitude at the Mitel end.
Unfortunately, no truer words spoken.
I guess I'm just gonna bite the bullet and get what info I need via an rs-232 connection to the Mitel's printer port. This seems an arcane means of getting data from a device with an Ethernet card, but I can't say I (and we, thanks) didn't try.
Thanks to all,
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 01:53 PM
03-04-2008 01:53 PM
Re: telnet: connection refused only from HP-UX; windoze works!
Of importance here to see if HP-UX is he problem is whether there is any evidence of a connection in the logs of the HP-UX system.
tail -f /var/adm/syslog/syslog.log
Try a connect. You should see something there.
If not, the problem is outside the HP-UX system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 02:01 PM
03-04-2008 02:01 PM
Re: telnet: connection refused only from HP-UX; windoze works!
http://www.vocaletraining.com/mitel/attachments/MitelPortsDoc.htm
regarding port 1752:
Provides view of SMDR records as they
generated. This connection is not
interactive and no username/password is
required Access to this port could be
restricted to the management VLAN.
So, what, exactly, happens when you do
whatever you do from the Windows system? I
don't use exotic Telnet commands from
Windows. Is it really talking to port 1752?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 02:37 PM
03-04-2008 02:37 PM
Re: telnet: connection refused only from HP-UX; windoze works!
Steven,
Good find. I will look into finding out what the 'management VLAN' is.
What happens when I issue the not-so-exotic telnet command "telnet 172.20.131.3 1752" on my PC, is phone call data spews by on the screen. I want to capture this data.
In the past, I have gotten this data from our old (read non-Ethernet) Mitel device by having my application establish an connection to its rs-232 printer port via a DTC. Our phone switch VAR stated that the same data comes out of port 1752 and I *should* be able to get it form there, thus eliminating the need for a DTC. Just in case, a DTC is a terminal server (Ethernet to rs-232).
Thanks,
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2008 07:33 PM
03-04-2008 07:33 PM
Re: telnet: connection refused only from HP-UX; windoze works!
> telnet command "telnet 172.20.131.3 1752"
> on my PC, is phone call data spews by on
> the screen. [...]
That sure sounds like what's supposed to
happen. It's not obvious to me why the HP-UX
system would not be able to achieve the same
result. You did claim that you could Telnet
to the thing on port 23 from the HP-UX
system, right? You're not trying to connect
a second time to a port which may be able to
handle only one connection, I trust. (That
is, the session from the Windows system is
closed when you're trying to connect from the
HP-UX system, right?)
The Telnet protocol does include some fine
print involving flow control and the like,
but I'd assume that you'd need some unusual
stty settings to get into trouble that way.
Sounds like a mystery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 02:07 PM
06-05-2008 02:07 PM
Re: telnet: connection refused only from HP-UX; windoze works!
Oh well, on to more important tasks!
-Brad