<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: problem while opening a client socket in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247686#M539965</link>
    <description>Also it can be heavily dependent on the application protocol spoken.&lt;BR /&gt;There are servers where the server side initiates the communication (I think SSH is such a candidate), and loads of other which wait for the client to pass the proper cue first.</description>
    <pubDate>Thu, 07 Aug 2008 12:11:20 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2008-08-07T12:11:20Z</dc:date>
    <item>
      <title>problem while opening a client socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247680#M539959</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am facing one strange issue with my application running on HP-UX 11iv3.It tries to open a client socket with a service running at port 6670.&lt;BR /&gt;&lt;BR /&gt;#netstat -an |grep 6670&lt;BR /&gt;tcp        0      0  *.6670                 *.*                     LISTEN&lt;BR /&gt;&lt;BR /&gt;#telnet 127.0.0.1 6670&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to 127.0.0.1.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;&lt;BR /&gt;the service rejects the client's connect request with errno 239(connection refused) .&lt;BR /&gt;&lt;BR /&gt;Could somebody help me here to figure out why the service is refusing connect request .&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards&lt;BR /&gt;Sudhir</description>
      <pubDate>Thu, 07 Aug 2008 05:19:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247680#M539959</guid>
      <dc:creator>kumasudh</dc:creator>
      <dc:date>2008-08-07T05:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem while opening a client socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247681#M539960</link>
      <description>First I would try to find out "who" is listening on that port - use "lsof".</description>
      <pubDate>Thu, 07 Aug 2008 05:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247681#M539960</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-08-07T05:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem while opening a client socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247682#M539961</link>
      <description>Maybe the server is configured to only allow connects from certain source addresses, or some tcp wrapper is in effect.&lt;BR /&gt;As Torsten said you should identify the server by e.g.&lt;BR /&gt;# lsof -nPi tcp:6670 | awk '/LISTEN/{print$2}'|xargs ps -fp</description>
      <pubDate>Thu, 07 Aug 2008 06:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247682#M539961</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-08-07T06:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem while opening a client socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247683#M539962</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Here is the output..&lt;BR /&gt;&lt;BR /&gt;#/usr/local/bin/lsof  -nPi tcp:6670 | awk '/LISTEN/{print$2}'|xargs ps -fp&lt;BR /&gt;     UID   PID  PPID  C    STIME TTY       TIME COMMAND&lt;BR /&gt;  smsdba  4520  4519  0 13:22:14 pts/tb    0:00 /opt/OC/lbin/ftc_mibproxy -MibService ha_ftcmib -FtcService ha_ftchb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the service "ha_ftcmib" is supposed to listen on 6670(configured in /etc/services) .&lt;BR /&gt;&lt;BR /&gt;#/usr/local/bin/lsof |grep ha_ftc&lt;BR /&gt;ftc       4519  smsdba    4u  IPv4 0x115b119400        0t0   TCP *:ha_ftc (LISTEN)&lt;BR /&gt;ftc       4519  smsdba    6u  IPv4 0x115b5fc680        0t0   TCP *:ha_ftchb (LISTEN)&lt;BR /&gt;ftc       4519  smsdba    7u  IPv4 0x115b2b0d00        0t0   TCP *:ha_ftchboam (LISTEN)&lt;BR /&gt;ftc       4519  smsdba    8u  IPv4 0x1159c66c80        0t0   TCP localhost:ha_ftchb-&amp;gt;localhost:49635 (ESTABLISHED)&lt;BR /&gt;ftc       4519  smsdba    9u  IPv4 0x1159c66080        0t0   TCP localhost:ha_ftchb-&amp;gt;localhost:49636 (ESTABLISHED)&lt;BR /&gt;ftc_mibpr 4520  smsdba    3u  IPv4 0x115ad78680        0t0   TCP localhost:49635-&amp;gt;localhost:ha_ftchb (ESTABLISHED)&lt;BR /&gt;ftc_mibpr 4520  smsdba    4u  IPv4 0x115b36f980        0t0   TCP *:ha_ftcmib (LISTEN)&lt;BR /&gt;ftc_mibpr 4520  smsdba    5u  IPv4 0x1159c66380        0t0   TCP localhost:49636-&amp;gt;localhost:ha_ftchb (ESTABLISHED)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards&lt;BR /&gt;Sudhir</description>
      <pubDate>Thu, 07 Aug 2008 07:03:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247683#M539962</guid>
      <dc:creator>kumasudh</dc:creator>
      <dc:date>2008-08-07T07:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem while opening a client socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247684#M539963</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;are youy experiencing problems with that service on that port? Or are you complaining that just why telnet on port 6670 is refusing connections in that way?&lt;BR /&gt;&lt;BR /&gt;Have you other systems configured with that service listening on port 6670? If so have you the same behaviour on those ones?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Thu, 07 Aug 2008 07:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247684#M539963</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2008-08-07T07:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem while opening a client socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247685#M539964</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;clear the port using lsof and try connecting &lt;BR /&gt;check &lt;BR /&gt;&lt;BR /&gt;#netstat -an |grep 6670&lt;BR /&gt;&lt;BR /&gt;It is not neccessary that port is also available for telnet....&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247685#M539964</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-07T11:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem while opening a client socket</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247686#M539965</link>
      <description>Also it can be heavily dependent on the application protocol spoken.&lt;BR /&gt;There are servers where the server side initiates the communication (I think SSH is such a candidate), and loads of other which wait for the client to pass the proper cue first.</description>
      <pubDate>Thu, 07 Aug 2008 12:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-while-opening-a-client-socket/m-p/4247686#M539965</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2008-08-07T12:11:20Z</dc:date>
    </item>
  </channel>
</rss>

