<?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: define a listening port  - tcp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770193#M261065</link>
    <description>Thanks for the explanation.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; does the programmer need your server to listen to a remote commnunication coming from another host on this 30001 port ? &lt;BR /&gt;&lt;BR /&gt;I believe above is the purpose. He is planning to transfer something between two hosts. In this case, do I need to do anything about it as a sysadmin? or he as a programmer needs to write a program to listen at that port. Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards!</description>
    <pubDate>Tue, 11 Apr 2006 15:10:02 GMT</pubDate>
    <dc:creator>ran_li</dc:creator>
    <dc:date>2006-04-11T15:10:02Z</dc:date>
    <item>
      <title>define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770188#M261060</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;How can I define a listening port on hp-ux 11i. Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Apr 2006 14:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770188#M261060</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-04-11T14:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770189#M261061</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;could you tell more precisely what your concern is? &lt;BR /&gt;If a programming matter, the socket creation primitives provide the ability to control socket port numbers. &lt;BR /&gt;&lt;BR /&gt;If other, please explain... &lt;BR /&gt;&lt;BR /&gt;antonio.</description>
      <pubDate>Tue, 11 Apr 2006 14:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770189#M261061</guid>
      <dc:creator>Antonio Cardoso_1</dc:creator>
      <dc:date>2006-04-11T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770190#M261062</link>
      <description>thanks for the question.&lt;BR /&gt;&lt;BR /&gt;A programmer came to me and ask for a listening port for his socket programming. I m not sure how to create one for him. &lt;BR /&gt;&lt;BR /&gt;Say I want to open a port at 30001 and use&lt;BR /&gt;&lt;BR /&gt;netstat -a &lt;BR /&gt;&lt;BR /&gt;to see it. Is this possible? or I mess up the concept. Please point out.&lt;BR /&gt;&lt;BR /&gt;Regards!</description>
      <pubDate>Tue, 11 Apr 2006 14:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770190#M261062</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-04-11T14:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770191#M261063</link>
      <description>In that case, run netstat -a and see if any listeners are bound to that port number. Lsof can also be used to identify ports in use. However, your programmer is not playing by the rules. He should consult&lt;BR /&gt;&lt;A href="http://www.iana.org/assignments/port-numbers" target="_blank"&gt;http://www.iana.org/assignments/port-numbers&lt;/A&gt;&lt;BR /&gt;and see if this is already a port assigned by IANA for a registered use (30001 is). If this is an important application, he should go through the procedure and get his port&lt;BR /&gt;reserved.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Apr 2006 14:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770191#M261063</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-04-11T14:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770192#M261064</link>
      <description>it is upto the programmer to create a socket and start listening on a port above 1024 (lower range is reserved for OS). I am not a programmer of any sort but as long as the port, that the programmer needs, is not occupied by another process, he/she should be able to listen to the port by a properly written program. Either the programmer does not have any knowledge about socket programming or he/she is not expressing the needs to you properly as the question did not make any sense.&lt;BR /&gt;&lt;BR /&gt;What is the purpose of this request ? does the programmer need your server to listen to a remote commnunication coming from another host on this 30001 port ? Or he wants to write program to listen to this port and wants you to open it. If the situation is the latter, you as the sysadmin have nothing to do. It is all upto him to write his code to listen that port. &lt;BR /&gt;&lt;BR /&gt;More information, especially the purpose of this request will be the most helpful.</description>
      <pubDate>Tue, 11 Apr 2006 14:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770192#M261064</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-04-11T14:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770193#M261065</link>
      <description>Thanks for the explanation.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; does the programmer need your server to listen to a remote commnunication coming from another host on this 30001 port ? &lt;BR /&gt;&lt;BR /&gt;I believe above is the purpose. He is planning to transfer something between two hosts. In this case, do I need to do anything about it as a sysadmin? or he as a programmer needs to write a program to listen at that port. Thanks.&lt;BR /&gt;&lt;BR /&gt;Regards!</description>
      <pubDate>Tue, 11 Apr 2006 15:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770193#M261065</guid>
      <dc:creator>ran_li</dc:creator>
      <dc:date>2006-04-11T15:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770194#M261066</link>
      <description>yes you are right. sysadmin does not "have to DO" anything. If he needs this port to listen, he needs to come up with a simple executable to accomplish his purpose. As far as you, the sysadmin goes, you may not know what type of communication this is and what it is expected to do. It is totally upto the programmer to come up with the listener. You just need to verify (by running netstat -an | grep port_num) that the port he intends to use, si not already occupied by some other process.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Tue, 11 Apr 2006 15:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770194#M261066</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-04-11T15:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770195#M261067</link>
      <description>additionally, from HP-UX 11.00, anonymous port range is from 49152 to 65535 =&amp;gt; that is the range of ports where system assigns ports when creation requests come with zero port number. &lt;BR /&gt;This range is controlled by ndd variables xxxx_anon_port (e.g. tcp_largest_anon_port).&lt;BR /&gt;&lt;BR /&gt;Using port number 30001 or any other outside anonymous range is OK. &lt;BR /&gt;&lt;BR /&gt;antonio.</description>
      <pubDate>Tue, 11 Apr 2006 15:48:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770195#M261067</guid>
      <dc:creator>Antonio Cardoso_1</dc:creator>
      <dc:date>2006-04-11T15:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: define a listening port  - tcp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770196#M261068</link>
      <description>1) Setup additional port for &lt;PROGRAM&gt;:  &lt;BR /&gt;        a) add to  /etc/services file:  &lt;BR /&gt; &lt;PROGRAM&gt; &lt;PORT&gt;/protocol(ex. tcp)&lt;BR /&gt;  &lt;BR /&gt;        b) add to /etc/inetd.conf file:  &lt;BR /&gt;&lt;PROGRAM&gt; stream tcp nowait path to program&lt;BR /&gt;(man inetd.conf for selections for above)  &lt;BR /&gt;        c) Reconfigure the Internet daemon:  &lt;BR /&gt;         inetd -c  &lt;BR /&gt;&lt;/PROGRAM&gt;&lt;/PORT&gt;&lt;/PROGRAM&gt;&lt;/PROGRAM&gt;</description>
      <pubDate>Wed, 12 Apr 2006 08:30:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/define-a-listening-port-tcp/m-p/3770196#M261068</guid>
      <dc:creator>Richard Darling</dc:creator>
      <dc:date>2006-04-12T08:30:33Z</dc:date>
    </item>
  </channel>
</rss>

