<?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 usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612339#M376722</link>
    <description>hi&lt;BR /&gt;&lt;BR /&gt;i need to use the port 9876 - once i grep it from netstat -an |grep -i 9876 - if it does not return anything - i'm safe to use that port right.&lt;BR /&gt;&lt;BR /&gt;yes it should be possible to assign the port for your purpose.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
    <pubDate>Tue, 06 Apr 2010 04:24:04 GMT</pubDate>
    <dc:creator>Michal Kapalka (mikap)</dc:creator>
    <dc:date>2010-04-06T04:24:04Z</dc:date>
    <item>
      <title>port usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612335#M376718</link>
      <description>Hello ,&lt;BR /&gt;&lt;BR /&gt;Can you please let me know ..how can we find out an active port ...i need to verify if a particular port is free ...i tried using &lt;BR /&gt;netstat -a|grep port&lt;BR /&gt;it did not return anything - does that mean the port that i greped was free - and able to make use of it .&lt;BR /&gt;pls advice&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 05 Apr 2010 23:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612335#M376718</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2010-04-05T23:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: port usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612336#M376719</link>
      <description>&lt;!--!*#--&gt;&amp;gt; netstat -a|grep port&lt;BR /&gt;&lt;BR /&gt;Did you actually use "port", or did you&lt;BR /&gt;specify some port number or service name?&lt;BR /&gt;&lt;BR /&gt;Are you hiding important details only to make&lt;BR /&gt;this stuff more difficult, or did you have&lt;BR /&gt;some valid reason?&lt;BR /&gt;&lt;BR /&gt;If you're looking for a number, then you&lt;BR /&gt;might do better with:&lt;BR /&gt;&lt;BR /&gt;      netstat -an&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ...i need to verify if a particular port is&lt;BR /&gt;&amp;gt; free [...]&lt;BR /&gt;&lt;BR /&gt;Which "a particular port"?  Why?  Normally,&lt;BR /&gt;if you try to use a port which is already in&lt;BR /&gt;use, someone complains.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] does that mean [...]&lt;BR /&gt;&lt;BR /&gt;If I could see what you actually did, then I&lt;BR /&gt;might be able to tell you what it actually&lt;BR /&gt;means.  Sadly, my psychic powers are very&lt;BR /&gt;weak.</description>
      <pubDate>Tue, 06 Apr 2010 00:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612336#M376719</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-04-06T00:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: port usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612337#M376720</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;netstat -an | grep ${port} &lt;BR /&gt;&lt;BR /&gt;is the right command.  The -n option will circumvent dns lookups.&lt;BR /&gt;&lt;BR /&gt;netstat -an | grep " 22 " &lt;BR /&gt;&lt;BR /&gt;for instance, will show you the sshd daemon.&lt;BR /&gt;&lt;BR /&gt;Another option is lsof although that doesn't come with the generic OS.  I believe you can download it from software.hp.com or from one of the porting centers.&lt;BR /&gt;&lt;BR /&gt;lsof -i :22&lt;BR /&gt;&lt;BR /&gt;will show all the processes that are using port 22.  It's a bit better than the netstat option, but, if you don't have lsof, your options are obviously somewhat limited...&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Tue, 06 Apr 2010 02:07:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612337#M376720</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2010-04-06T02:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: port usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612338#M376721</link>
      <description>i need to use the port 9876 - once i grep it from netstat -an |grep -i 9876 - if it does not return anything - i'm safe to use that port right.&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 06 Apr 2010 04:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612338#M376721</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2010-04-06T04:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: port usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612339#M376722</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;i need to use the port 9876 - once i grep it from netstat -an |grep -i 9876 - if it does not return anything - i'm safe to use that port right.&lt;BR /&gt;&lt;BR /&gt;yes it should be possible to assign the port for your purpose.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Tue, 06 Apr 2010 04:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612339#M376722</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-04-06T04:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: port usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612340#M376723</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] i'm safe to use that port right.&lt;BR /&gt;&lt;BR /&gt;Well, no one else is using it now.  If that&lt;BR /&gt;means "safe", then you're safe.</description>
      <pubDate>Tue, 06 Apr 2010 10:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/port-usage/m-p/4612340#M376723</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-04-06T10:22:49Z</dc:date>
    </item>
  </channel>
</rss>

