<?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: Client cannot open a connection with tcp port in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623471#M592011</link>
    <description>&lt;BR /&gt;&amp;lt;&lt;AT that="" time="" if="" i="" changed="" port="" 7051="" to="" 9014="" and="" restart="" application=""&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt; This seems to be an application issue.  The application is not releasing the port 7051 , so you are not able to use it ; But when you switch over to 9014, it seems to break or clear the old connection on 7051. That's why you are able to reuse the 7051.&lt;BR /&gt; Recheck this with the application folks.&lt;BR /&gt;Do a netstat -a  &amp;gt;/tmp/netstat.$$  after each of the above steps  and do a &lt;BR /&gt;#grep -e 7051 -e 9014  /tmp/netstat.*  to&lt;BR /&gt;confirm it.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj &lt;BR /&gt;&lt;BR /&gt;&lt;/AT&gt;</description>
    <pubDate>Sat, 01 Dec 2001 20:27:37 GMT</pubDate>
    <dc:creator>Roger Baptiste</dc:creator>
    <dc:date>2001-12-01T20:27:37Z</dc:date>
    <item>
      <title>Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623466#M592006</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;I am administering a site they have HP9000 N-class servers running hp-ux 11.0,and client server based application. Sometimes the application leaves a particular port in "LISTEN" status with out establishing connection with client when it starts their application on that particular port. If I change that port with another one, client will get ESTABLISHED connection. Then after if I revert back to old port then the old port also will function properly.&lt;BR /&gt;&lt;BR /&gt;Can any have idea on this please reply me it will help me a lot.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Dec 2001 13:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623466#M592006</guid>
      <dc:creator>manoj_pu</dc:creator>
      <dc:date>2001-12-01T13:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623467#M592007</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I don't understand your question very well.  Perhaps you can clarify it, particularly:&lt;BR /&gt;&lt;BR /&gt;"If I change that port with another one, client will get ESTABLISHED connection. Then after if I revert back to old port then the old port also will function properly."&lt;BR /&gt;&lt;BR /&gt;When a server process starts, it opens a socket on the system on which it is running.  The socket (identified as IP address and port number) listens for connections from clients.  So, when a server process starts you should be able to see a socket for that process with "netstat -a" that is in LISTEN.  After a client process opens a connection with that server socket you will see it ESTABLISHED.&lt;BR /&gt;&lt;BR /&gt;"netstat -a" will display a line for each socket open on the system.  For established connections you will see the socket pair (server socket and client socket) displayed.&lt;BR /&gt;&lt;BR /&gt;Note that "netstat -a" without the -n parameter will resolve names for hosts and services.&lt;BR /&gt;&lt;BR /&gt;A server does not establish a connection to a client.  Clients establish connections to servers.&lt;BR /&gt;&lt;BR /&gt;Please give us more information on the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darrell</description>
      <pubDate>Sat, 01 Dec 2001 14:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623467#M592007</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-01T14:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623468#M592008</link>
      <description>&lt;BR /&gt;Hello&lt;BR /&gt; &lt;BR /&gt;It is like this when application starts in the server it assign a socket with a port 7051. Some times client will unable to connect on this particular port (7051). At that time if I changed port 7051 to 9014 and restart application, clients will be able to connect with the port 9014. If I revert back that is changing port 9014 to the old one-7051. Then with the old port also clients will be able to connect.&lt;BR /&gt;&lt;BR /&gt;Why clients required these sockets resetting to connect the application in the server?&lt;BR /&gt;&lt;BR /&gt;Thanks for immediate reply&lt;BR /&gt;&lt;BR /&gt;Manoj&lt;BR /&gt;</description>
      <pubDate>Sat, 01 Dec 2001 15:48:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623468#M592008</guid>
      <dc:creator>manoj_pu</dc:creator>
      <dc:date>2001-12-01T15:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623469#M592009</link>
      <description>Manjou,&lt;BR /&gt;&lt;BR /&gt;The problem you are describing is an application issue. If this is a purchased product then you should contact your vendor with the issue. If it is written by your comapny, then I'd contact the programmers and have them fix their code. &lt;BR /&gt;&lt;BR /&gt;You could, while you are waiting for a response from either your vendor or your programmers, find out what patches you need. &lt;BR /&gt;&lt;BR /&gt;Go to the Patch area, and do the custom patch manager instructions. And then install your patches, this way no one can point fingers at you :-))&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Sat, 01 Dec 2001 18:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623469#M592009</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-12-01T18:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623470#M592010</link>
      <description>Hi Manoj,&lt;BR /&gt;&lt;BR /&gt;Is another application using port 7051?  Are the clients on the same subnet?  What error do the clients get when the connection does not get established?&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Sat, 01 Dec 2001 19:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623470#M592010</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-01T19:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623471#M592011</link>
      <description>&lt;BR /&gt;&amp;lt;&lt;AT that="" time="" if="" i="" changed="" port="" 7051="" to="" 9014="" and="" restart="" application=""&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt; This seems to be an application issue.  The application is not releasing the port 7051 , so you are not able to use it ; But when you switch over to 9014, it seems to break or clear the old connection on 7051. That's why you are able to reuse the 7051.&lt;BR /&gt; Recheck this with the application folks.&lt;BR /&gt;Do a netstat -a  &amp;gt;/tmp/netstat.$$  after each of the above steps  and do a &lt;BR /&gt;#grep -e 7051 -e 9014  /tmp/netstat.*  to&lt;BR /&gt;confirm it.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj &lt;BR /&gt;&lt;BR /&gt;&lt;/AT&gt;</description>
      <pubDate>Sat, 01 Dec 2001 20:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623471#M592011</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-12-01T20:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623472#M592012</link>
      <description>Does your application you are talking with (and the one you are talking to) have a variable setting for timeout of the Interface or Program you are running? Also look at a lower level (Network configuration, polling interval and timeout perhaps?)&lt;BR /&gt;&lt;BR /&gt;I have experienced a similar problem on an HP box where an NT Application was tying up a port by constantly trying to re-establish the connection under the port. The UNIX server had stopped using it and could not re-estblish the concection.&lt;BR /&gt;&lt;BR /&gt;Perhaps ask the other person to check out if they are also tying up ports. It sounds like it is the remote system that is at fault.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Mon, 03 Dec 2001 16:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623472#M592012</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2001-12-03T16:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623473#M592013</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This sounds familiar. We have noticed problems with web applications in particular exhibiting this sort of behavour.&lt;BR /&gt;&lt;BR /&gt;Usually what happens is the app closes un-cleanly and leaves your port in a state of FIN_WAIT. When you restart the app on another port, which is availabe it's okay. The original port then either times out or clears the orginal port.&lt;BR /&gt;&lt;BR /&gt;You should try the following:&lt;BR /&gt;&lt;BR /&gt;Stop the app so that the port jams up. Run a netstat -an | grep ".1024" to see what state its in. If it's a FIN_WAIT or a TIME_WAIT state try the following :-&lt;BR /&gt;&lt;BR /&gt;ndd -set /dev/tcp tcp_fin_wait_2_timeout 1&lt;BR /&gt;&lt;BR /&gt;This should clear your fin wait port within a min. Which should allow you to restart the app.&lt;BR /&gt;&lt;BR /&gt;ndd -get /dev/tcp tcp_time_wait_interval can also be reduced in the same manner as above. The optimal settings for these params are usually found on you app's help and tuning page&lt;BR /&gt;&lt;BR /&gt;Hope this is of some use!!!&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;-ChaZ-&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Dec 2001 18:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623473#M592013</guid>
      <dc:creator>Charles Harris</dc:creator>
      <dc:date>2001-12-03T18:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Client cannot open a connection with tcp port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623474#M592014</link>
      <description>Verify that there are not any PID's on that port. To do this you need to download lsof from the internet and run ./lsof -i | grep port_number. It may be that the application is still running on that port, when you try to start it it fails because the ports busy..or it assumes its busy. &lt;BR /&gt;&lt;BR /&gt;You can downlaod it from this web page&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;</description>
      <pubDate>Thu, 06 Dec 2001 21:49:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/client-cannot-open-a-connection-with-tcp-port/m-p/2623474#M592014</guid>
      <dc:creator>IT Response</dc:creator>
      <dc:date>2001-12-06T21:49:59Z</dc:date>
    </item>
  </channel>
</rss>

