<?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: Port refusing connection in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086020#M573191</link>
    <description>The tcp_conn_request_max is  4096.&lt;BR /&gt;The tcp_syn_rcvd_max is 500.&lt;BR /&gt;My guess is these are both default values.  How do I determine how high to set these?</description>
    <pubDate>Mon, 06 Oct 2003 10:48:13 GMT</pubDate>
    <dc:creator>Rick_105</dc:creator>
    <dc:date>2003-10-06T10:48:13Z</dc:date>
    <item>
      <title>Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086012#M573183</link>
      <description>We are running an EAI application on our HP-UX 11i server which should be able to accept a connection on port 8726.  When the sending application attempts to connect, the connection is refused.  We put a sniffer on the server and we see a reset being sent from UX box.  The port is shown in the netstat -a in the Listening status.  I do not know if it is related but when I do a netstat -p I get this&lt;BR /&gt;&lt;BR /&gt;60532 connect requests dropped due to no listener&lt;BR /&gt;&lt;BR /&gt;Any thoughts?&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Oct 2003 09:13:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086012#M573183</guid>
      <dc:creator>Rick_105</dc:creator>
      <dc:date>2003-10-06T09:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086013#M573184</link>
      <description>Maybe you are using more than one IP on this machine, and your server is listening on the other ip?&lt;BR /&gt;&lt;BR /&gt;-Tomek</description>
      <pubDate>Mon, 06 Oct 2003 09:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086013#M573184</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-10-06T09:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086014#M573185</link>
      <description>There are 2 NIC's but ony one is enabled.</description>
      <pubDate>Mon, 06 Oct 2003 09:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086014#M573185</guid>
      <dc:creator>Rick_105</dc:creator>
      <dc:date>2003-10-06T09:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086015#M573186</link>
      <description>Try to telnet to this port - if "connection refused" occurs, means nothing is listening on this port.</description>
      <pubDate>Mon, 06 Oct 2003 09:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086015#M573186</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-10-06T09:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086016#M573187</link>
      <description>check your /etc/services file for proper initialization of your specified port number,&lt;BR /&gt;you your port has been configured for the particular application you will able to do&lt;BR /&gt;telnet &lt;IP-ADDRESS&gt; &lt;PORTNUMBER&gt;&lt;BR /&gt;if not u will get the connection refused error, the same attempt reflects in your&lt;BR /&gt;netstat -p protocol also. Also you can check if large number of drops and refuses present u can check for queue length also.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;/PORTNUMBER&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Mon, 06 Oct 2003 09:44:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086016#M573187</guid>
      <dc:creator>Hari Kumar</dc:creator>
      <dc:date>2003-10-06T09:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086017#M573188</link>
      <description>I got a connection refused. But in the netstat -a I get this&lt;BR /&gt;&lt;BR /&gt;tcp  0  0  *.8726   *.*          LISTEN</description>
      <pubDate>Mon, 06 Oct 2003 09:46:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086017#M573188</guid>
      <dc:creator>Rick_105</dc:creator>
      <dc:date>2003-10-06T09:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086018#M573189</link>
      <description>That's strange. Is the server which shoul listen on this port running? Try to use lsof -i to determine if something is really listening on this port. Sometimes port is blocked after program crash.</description>
      <pubDate>Mon, 06 Oct 2003 09:54:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086018#M573189</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-10-06T09:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086019#M573190</link>
      <description>As the DROP value given by you is high,&lt;BR /&gt;the probable settings causing error are&lt;BR /&gt;NDD and NDDCONF files&lt;BR /&gt;can please check for these values&lt;BR /&gt;tcp tcp_conn_request_max &lt;BR /&gt;tcp_syn_rcvd_max &lt;BR /&gt;u can set these values to large values using&lt;BR /&gt;#ndd -set&lt;BR /&gt;and also u can clear the stats from lanadmin **if those ndd settoings wont work out.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Oct 2003 09:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086019#M573190</guid>
      <dc:creator>Hari Kumar</dc:creator>
      <dc:date>2003-10-06T09:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086020#M573191</link>
      <description>The tcp_conn_request_max is  4096.&lt;BR /&gt;The tcp_syn_rcvd_max is 500.&lt;BR /&gt;My guess is these are both default values.  How do I determine how high to set these?</description>
      <pubDate>Mon, 06 Oct 2003 10:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086020#M573191</guid>
      <dc:creator>Rick_105</dc:creator>
      <dc:date>2003-10-06T10:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086021#M573192</link>
      <description>What does /var/adm/syslog/syslog.log have to say??  Have a look for a line that mentions refused connect.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Mon, 06 Oct 2003 10:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086021#M573192</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-10-06T10:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086022#M573193</link>
      <description>By looking at the output of either&lt;BR /&gt;"netstat -s" or "netstat -p tcp" and looking for the line displaying the number of connection requests dropped due to full queue we can say If tcp_conn_request_max is too small. (this parameter is also called system listen queue depth).&lt;BR /&gt;If the number of drops is zero, the value of tcp_conn_request_max is fine. If the value is non-zero, either tcp_conn_request_max is too small or the values the applications are using in their calls to listen() are too small.&lt;BR /&gt;The value specified by you is high enough, but still we can find the drops, try for 6000+ value to be set.&lt;BR /&gt;max_conn_request_max is also global parameter.&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 06 Oct 2003 11:10:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086022#M573193</guid>
      <dc:creator>Hari Kumar</dc:creator>
      <dc:date>2003-10-06T11:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086023#M573194</link>
      <description>The number of drops from a full queue was only 9.  The server has been up 22 days and the statistics have not been reset so I am not sure how big of an issue that is.&lt;BR /&gt;  &lt;BR /&gt;There is nothing in the syslog dealing with that port or with a failed connection.  &lt;BR /&gt;&lt;BR /&gt;The only other thing that I see that might point to anything is the other connection to the server that resembles this one looks like this in a netstat -a&lt;BR /&gt;&lt;BR /&gt;tcp   0   0   *.8642   *.*   LISTEN&lt;BR /&gt;tcp   0   0   GHSEGAT2.8642  datagate.4770           ESTABLISHED</description>
      <pubDate>Mon, 06 Oct 2003 13:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086023#M573194</guid>
      <dc:creator>Rick_105</dc:creator>
      <dc:date>2003-10-06T13:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086024#M573195</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can check nettl.LOG00* file under /var/adm. But you have to format the file first. Pls see netfmt man pg.&lt;BR /&gt;&lt;BR /&gt;Rgrds&lt;BR /&gt;Richard</description>
      <pubDate>Tue, 07 Oct 2003 11:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086024#M573195</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-10-07T11:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086025#M573196</link>
      <description>"...60532 connect requests dropped due to no listener..." means you have applications listening on your server but nothing is coming in on that port.  The port is not indicated.  This error is not related to your question if a firewall is involved.  This could be at the router or on the server.  If on the server then something like 'inetd.sec' or 'tcp wrappers' would be used.&lt;BR /&gt; &lt;BR /&gt;The 'connection refused' error supports this.&lt;BR /&gt; &lt;BR /&gt;Do a traceroute between nodes and track the router.  Are there other IP addresses shown in the traceroute or just is there just a switch?  If IP's then go to these nodes and check for firewall applications.&lt;BR /&gt; &lt;BR /&gt;Also, when you use your sniffer the port should be indicated, like with 'tcpdump'.&lt;BR /&gt; &lt;BR /&gt;xxx.xxx.xxx.xxx 8726</description>
      <pubDate>Tue, 07 Oct 2003 12:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086025#M573196</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-10-07T12:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086026#M573197</link>
      <description>Oops.&lt;BR /&gt;"...This error is not related to your question if a firewall is ...&lt;BR /&gt; &lt;BR /&gt;should read..&lt;BR /&gt; &lt;BR /&gt;This error IS related to your question if a firewall is</description>
      <pubDate>Tue, 07 Oct 2003 12:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086026#M573197</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-10-07T12:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086027#M573198</link>
      <description>Let me answer the last couple of posts in this one.  there is no firewall in the mix.  I am getting a reset packet being sent from the server on the port in question(8726).  The topology is from the server to a switch(cisco), to a router (cisco), onto a wan.  The connecting server is behind a router on the other side of the WAN.  I did the trace route and got the jumps from the server to the switch to our router to their router and then to the server.  We are able to make connections to their server to send data there, they just cannot connect to our server to send data back to us.&lt;BR /&gt;&lt;BR /&gt;I also looked at the nttl.log00* file.  The last several entries were entries from us unpluging the network cable and repluging it into a hub.</description>
      <pubDate>Tue, 07 Oct 2003 12:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086027#M573198</guid>
      <dc:creator>Rick_105</dc:creator>
      <dc:date>2003-10-07T12:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086028#M573199</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is the application listener managed by inetd? (i.e. does the application have an entry in /etc/inetd.conf like telnet or ftp) Or is the listener started and managed sperately (like the Oracle listener for example). If started by inetd - check the following:&lt;BR /&gt;&lt;BR /&gt;1. As suggested above, have you checked there is no entry in /var/adm/inetd.sec that only allows access to that service from certain IP addresses?&lt;BR /&gt;&lt;BR /&gt;2. Also have you turned on logging for inetd ? (I'm not at a system right now, but IIRC 'inetd -l' will do this)&lt;BR /&gt;&lt;BR /&gt;If the listener runs seperately I'm not so sure where to go... it appears from your netstat output that *something* is listening on the port, but can you be sure it's your listener? You might want to get hold of a copy of lsof and check this. Otherwise all I can suggest is turning on debugging or additional logging in your application and looking at relevant log files.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Tue, 07 Oct 2003 13:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086028#M573199</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2003-10-07T13:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Port refusing connection</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086029#M573200</link>
      <description>Yes, at this point only 'lsof' will provide information about the application using the port, for there may be a conflict with that port.&lt;BR /&gt; &lt;BR /&gt;But /etc/services should id this.&lt;BR /&gt; &lt;BR /&gt;Here is 'lsof'.&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://hpux.cict.fr/hppd/hpux/Sysadmin/lsof-4.64/" target="_blank"&gt;http://hpux.cict.fr/hppd/hpux/Sysadmin/lsof-4.64/&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;And the 'telnet ip port' number should succeed.  So you have all the tools now.</description>
      <pubDate>Tue, 07 Oct 2003 13:21:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-refusing-connection/m-p/3086029#M573200</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-10-07T13:21:38Z</dc:date>
    </item>
  </channel>
</rss>

