<?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: Unable to connect to port 12789 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642840#M44147</link>
    <description>/etc/services does _not_ "physically" reserve a port number. it is merely there as a convenience for us humans - allowing us to refer to services by names rather than port numbers.&lt;BR /&gt;&lt;BR /&gt;if the software is trying to setup its listen endpoint, it should not use the word "connect" in its error messages as that implies it is trying to call connect() rather than bind() which is what would appear to be the socket call it would be making. using tusc against the app while it is starting would help confirm what socket calls it is making.&lt;BR /&gt;&lt;BR /&gt;the suggestions about remembering to use -n in netstat when checking the output for the port number is good. &lt;BR /&gt;&lt;BR /&gt;if you do find that there is an old connection still there, in any state other than LISTEN, it indicates that the software you are trying to start is broken and is not setting SO_REUSEADDR via setsockopt() prior to calling bind(). &lt;BR /&gt;&lt;BR /&gt;if the endpoint is in the LISTEN state it means that you _have_ to kill the still running older instance of the application.&lt;BR /&gt;&lt;BR /&gt;in 99 situations out of 10, it is _not_ apropriate to use ugly hacks to arbitrarily abort endpoints out from under the application...</description>
    <pubDate>Fri, 11 Jan 2002 19:06:08 GMT</pubDate>
    <dc:creator>rick jones</dc:creator>
    <dc:date>2002-01-11T19:06:08Z</dc:date>
    <item>
      <title>Unable to connect to port 12789</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642836#M44143</link>
      <description>HI , &lt;BR /&gt;I am trying to run one engine on the port 12789 .but it says Unable to connect to the port 12789 ,port may be in use by another server.But when i see netstat -a and /etc/services this port is not listed anywhere.Any clues ??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2002 04:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642836#M44143</guid>
      <dc:creator>dhanish</dc:creator>
      <dc:date>2002-01-11T04:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to port 12789</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642837#M44144</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You may have to see the file /etc/rpc also as some of the ports are defined here. &lt;BR /&gt;&lt;BR /&gt;You can even check the /etc/inetd.conf.&lt;BR /&gt;&lt;BR /&gt;you can use the command #rpcinfo &lt;IPADDRESS&gt;&lt;BR /&gt;&lt;BR /&gt;-vijay&lt;/IPADDRESS&gt;</description>
      <pubDate>Fri, 11 Jan 2002 05:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642837#M44144</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-01-11T05:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to port 12789</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642838#M44145</link>
      <description>Does your engine require u to create the entry in /etc/services ?</description>
      <pubDate>Fri, 11 Jan 2002 06:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642838#M44145</guid>
      <dc:creator>Tee How Long</dc:creator>
      <dc:date>2002-01-11T06:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to port 12789</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642839#M44146</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you running "netstat -an" rather than "netstat -a", otherwise the port may show up by its name if it's in /etc/services.&lt;BR /&gt;&lt;BR /&gt;Also, you could run&lt;BR /&gt;&lt;BR /&gt;lsof  -i tcp:12789&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;lsof -i udp:12789&lt;BR /&gt;&lt;BR /&gt;if you have this utility.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Fri, 11 Jan 2002 08:31:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642839#M44146</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2002-01-11T08:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to port 12789</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642840#M44147</link>
      <description>/etc/services does _not_ "physically" reserve a port number. it is merely there as a convenience for us humans - allowing us to refer to services by names rather than port numbers.&lt;BR /&gt;&lt;BR /&gt;if the software is trying to setup its listen endpoint, it should not use the word "connect" in its error messages as that implies it is trying to call connect() rather than bind() which is what would appear to be the socket call it would be making. using tusc against the app while it is starting would help confirm what socket calls it is making.&lt;BR /&gt;&lt;BR /&gt;the suggestions about remembering to use -n in netstat when checking the output for the port number is good. &lt;BR /&gt;&lt;BR /&gt;if you do find that there is an old connection still there, in any state other than LISTEN, it indicates that the software you are trying to start is broken and is not setting SO_REUSEADDR via setsockopt() prior to calling bind(). &lt;BR /&gt;&lt;BR /&gt;if the endpoint is in the LISTEN state it means that you _have_ to kill the still running older instance of the application.&lt;BR /&gt;&lt;BR /&gt;in 99 situations out of 10, it is _not_ apropriate to use ugly hacks to arbitrarily abort endpoints out from under the application...</description>
      <pubDate>Fri, 11 Jan 2002 19:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-connect-to-port-12789/m-p/2642840#M44147</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-01-11T19:06:08Z</dc:date>
    </item>
  </channel>
</rss>

