<?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 Finding port number of a service in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422211#M215</link>
    <description>How can one get a list of all the services running on an hp-ux server along &lt;BR /&gt;with the port numbers they are using?  I am aware that some information can be &lt;BR /&gt;obtained from /etc/services but what about services not listed in &lt;BR /&gt;/etc/services?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Raghu</description>
    <pubDate>Thu, 27 Apr 2000 05:43:02 GMT</pubDate>
    <dc:creator>Raghvinder Sangwan</dc:creator>
    <dc:date>2000-04-27T05:43:02Z</dc:date>
    <item>
      <title>Finding port number of a service</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422211#M215</link>
      <description>How can one get a list of all the services running on an hp-ux server along &lt;BR /&gt;with the port numbers they are using?  I am aware that some information can be &lt;BR /&gt;obtained from /etc/services but what about services not listed in &lt;BR /&gt;/etc/services?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Raghu</description>
      <pubDate>Thu, 27 Apr 2000 05:43:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422211#M215</guid>
      <dc:creator>Raghvinder Sangwan</dc:creator>
      <dc:date>2000-04-27T05:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Finding port number of a service</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422212#M216</link>
      <description>Try this command:&lt;BR /&gt;netstat -an | grep LISTEN</description>
      <pubDate>Thu, 27 Apr 2000 06:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422212#M216</guid>
      <dc:creator>Paul Hite_2</dc:creator>
      <dc:date>2000-04-27T06:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Finding port number of a service</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422213#M217</link>
      <description>Hi Paul:&lt;BR /&gt;&lt;BR /&gt;When I use netstat -an | grep LISTEN I get an output similar to the following:&lt;BR /&gt;&lt;BR /&gt;tcp   0    0    *.80     *.*    LISTEN&lt;BR /&gt;tcp   0    0    *.2121   *.*    LISTEN&lt;BR /&gt;tcp   0    0    *.37     *.*    LISTEN&lt;BR /&gt;tcp   0    0    *.25     *.*    LISTEN&lt;BR /&gt;tcp   0    0    *.23     *.*    LISTEN&lt;BR /&gt;&lt;BR /&gt;How do you tell from this output what service is running on a given port.  For &lt;BR /&gt;example, port 80 is the web server, port 25 is the mail server, etc.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Raghu</description>
      <pubDate>Fri, 28 Apr 2000 04:31:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422213#M217</guid>
      <dc:creator>Raghvinder Sangwan</dc:creator>
      <dc:date>2000-04-28T04:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Finding port number of a service</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422214#M218</link>
      <description>Well, there is no magic way to know what, say 2121 is doing.  Ports 25 and 80 &lt;BR /&gt;are well known ports and are listed in /etc/services.  If someone writes a &lt;BR /&gt;program and does a listen on port 2121 but does not update /etc/services or &lt;BR /&gt;otherwise tell you about it, there is no way to forcibly extract the &lt;BR /&gt;information by program.&lt;BR /&gt;&lt;BR /&gt;Indeed that program that is doing the listen on port 2121 may be so &lt;BR /&gt;disfunctional that it offers no services at all.  What then?&lt;BR /&gt;&lt;BR /&gt;I'm not sure what you expect a program to do about undocumented ports.</description>
      <pubDate>Fri, 28 Apr 2000 08:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-port-number-of-a-service/m-p/2422214#M218</guid>
      <dc:creator>Paul Hite_2</dc:creator>
      <dc:date>2000-04-28T08:25:33Z</dc:date>
    </item>
  </channel>
</rss>

