AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Unable to Telnet using port 7016 to an AIX server

    Posted Thu July 15, 2010 05:24 AM

    Originally posted by: the_smit


    I am trying to telnet an AIX server using port 7016 from an HP-UX machine. It just keeps on failing and giving me a "Unable to connect to remote host" message.

    I already checked all possible component that seems to be blocking the connection. Network and firewall is ok, DNS is ok, all things that needs to be defined in /etc/hosts file are all properly defined, no conflict with the /etc/services & /etc/inetd.conf file, I even activated the IPv4 security feature and added a rule to allow connections from my HP-UX machine. Still to no avail.

    On the AIX side, i can telnet my HP-UX server and I can telnet the localhost as well. Both can ping each other.

    What seems to be the problem in here? Why is it that I cannot connect to my AIX server via telnet using port 7016?

    Need your answers gurus. I've been troubleshooting all day and no success.
    TIA!
    #AIX-Forum


  • 2.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Thu July 15, 2010 11:24 AM

    Originally posted by: orphy


    Why port 7016? telnetd typically listens on port 23. Are you doing something like this?

    telnet <box> 7016

    If so, you need to make sure telnetd is listening on port 7016 before connection would happen.
    Orphy
    #AIX-Forum


  • 3.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Thu July 15, 2010 07:42 PM

    Originally posted by: dukessd


    Check /etc/services for the port number:

    1. more /etc/services | grep 7016
    2. 7016-7019 # Unassigned

    So on my system it seems nothing is listening on that port.

    As above, typically telnet used port 23....

    1. cat /etc/services | grep telnet

    HTH
    #AIX-Forum


  • 4.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Fri July 16, 2010 03:17 AM

    Originally posted by: Jekoyski


    Hi Gurus,

    I'm the_smit's teamate. Just to clear things out, the smit is using telnet just to test the server's connectivity through port 7016. The real scenario is that the_smit has installed an agent on his server(client) w/c opens port 7016 to listen to an application server. But when tested, the server could not establish connection to the client. We then checked on both sides if there were closed ports and found out that on the client server's side, the needed ports were LISTENING but when tested w/ telnet from the application server, the client could not respond as if there was a firewall/port filtering service w/c is running. Also researched about AIX's ipsec but as checked, it's not enabled on the client side. Also retrieved LISTENING ports from client (netstat -an) and tried to do telnet to it from other machines but still can't establish connection. That brought us to wondering what's filtering the servers to connect to the client's ports. Are there other security services on AIX aside from the ipv4 ipsec?

    thanks :)
    #AIX-Forum


  • 5.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Sat July 17, 2010 12:35 AM

    Originally posted by: SystemAdmin


    exact output of "netstat -a|grep 7016" of server?
    exact output of "ifconfig -a" of server?
    exact telnet command and its output on client? any delays with this?
    #AIX-Forum


  • 6.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Sat July 17, 2010 12:37 AM

    Originally posted by: SystemAdmin


    p.s. : use ip adresses for now, not hostnames
    #AIX-Forum


  • 7.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Sat July 17, 2010 01:33 AM

    Originally posted by: orphy


    Have you tried doing the same telnet within this server where the agent is installed? Something like

    agent_server> telnet localhost 7016

    Same behavior or different?
    Orphy
    #AIX-Forum


  • 8.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Mon August 02, 2010 01:02 PM

    Originally posted by: GB_MASTER


    @ Jekoyski...were you able to find any solution to the problem...seems like I may be having a similar problem...please let me know if there was any breakthrough
    #AIX-Forum


  • 9.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Tue August 03, 2010 04:56 AM

    Originally posted by: qweabab1


    I have the same problem
    #AIX-Forum


  • 10.  Re: Unable to Telnet using port 7016 to an AIX server

    Posted Sat January 08, 2011 08:42 PM

    Originally posted by: Jude.Presley


    GB_MASTER wrote:
    @ Jekoyski...were you able to find any solution to the problem...seems like I may be having a similar problem...please let me know if there was any breakthrough

    Could you give more detailed description? Where to find some related articles? Thank you!
    #AIX-Forum