Operating System - HP-UX
1833053 Members
2240 Online
110049 Solutions
New Discussion

telneting to a pre-defined port

 
Rahul.J.A
Occasional Contributor

telneting to a pre-defined port

I have created a local service and i am trying to do a telnet to the port , i am getting a message .This is Hp Itanium and it is HP-UX B.11.23 U ia64 (td)

telnet 172.16.7.26 5014
WARNING! Could not read Kerberos Configuration file.
Trying...
Connected to ::ffff:172.16.7.26.
Escape character is '^]'.
Connection closed by foreign host.

Normally what it should do is try to connect and come out. I have got a one more Hp Itanium and it is HP-UX B.11.23 U ia64 (td) and the connection is working fine. I am not sure why it is looking for Kerberos Configuration file

telnet 172.16.7.22 3275
Trying...
telnet: Unable to connect to remote host: Connection refused
4 REPLIES 4
Michael Steele_2
Honored Contributor

Re: telneting to a pre-defined port

You don't get a login prompt. Telnet is telling you the port is closed.
Can you paste in /etc/services for both servers? And from receiving server can you check the port 5014?

netstat -an | grep 5014
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: telneting to a pre-defined port

Search for kb5.conf and verify kerberos exists.

Here's an explanation of kerberos:

http://www.ornl.gov/~jar/HowToKerb.html
Support Fatherhood - Stop Family Law
Logu_2
Advisor

Re: telneting to a pre-defined port

It looks like your telnet client is kerberised. You can make it unkerberised by using the tool inet_sec (i dont remember the name correctly).

-logu
Logu_2
Advisor

Re: telneting to a pre-defined port

The tool to enable/disable kerberos support on telnet client is inetsvcs_sec. So use it to disable it and then try it. It should work as expected.

-logu