1834598 Members
3950 Online
110069 Solutions
New Discussion

Re: unable to telnet

 
Jagadesh_2
Regular Advisor

unable to telnet

Hi All,

I am getting the error when i try to telnet. ftp & telnet is not working. When i checked from the console the inetd service is up and running. I tried restarting the inetd service too. But no joys..

#telnet 10.200.125.201
Trying...
Connected to 10.200.125.201.
Escape character is '^]'. Ð Local flow control off
Connection closed by foreign host.
opal1 >telnet 10.200.125.201
Trying...
Connected to 10.200.125.201.
Escape character is '^]'. Ð Local flow control off
Connection closed by foreign host.
6 REPLIES 6
Bill Hassell
Honored Contributor

Re: unable to telnet

Is the machine you are using (a PC perhaps) on the same network (no routers)? Can you ping the HP-UX machine? Can the HP-UX machine telnet to another machine on the same network? Has someone recently edited the /var/adm/inetd.sec file?


Bill Hassell, sysadmin
Mark Nieuwboer
Esteemed Contributor

Re: unable to telnet

Hi Jagadesh,

Check the /var/adm/inetd.sec and see if you may contact the machine from that partical machine.
Also try from the server to connect to other machines.

grtz. Mark
Hoang Chi Cong_1
Honored Contributor

Re: unable to telnet

Hi Jagadesh

As above idea, Just check for /var/adm/inetd.sec file.
Here is copy/paste from inetd.sec file's content:

# The lines in the file contain a service name, permission field and
# the Internet addresses or names of the hosts and/or networks
# allowed to use that service in the local machine.
# The form for each entry in this file is:
#
#
#
# For example:
#
# login allow 10.3-5 192.34.56.5 ahost anetwork

You can modify the service and IP address that can connect to ther server.
For example (modify the inetd.sec from server has IP address: 10.200.125.201):

telnet allow your_ip_address

Hope this helps
Regard,
Hoang Chi Cong
Looking for a special chance.......
Muthukumar_5
Honored Contributor

Re: unable to telnet

I think this is a problem with stty setting? It may not be a /var/adm/inetd.sec bcas it will not allow to even to connect with machine.

-Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: unable to telnet

I think this is a problem with stty setting? It may not be a /var/adm/inetd.sec bcas it will not allow to even to connect with machine.

Just do as,

# stty ixon

and put into the /etc/profile file.


-Muthu
Easy to suggest when don't know about the problem!