<?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 Two Servcies need the same port number in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641677#M613986</link>
    <description>Hi &lt;BR /&gt;We have two applications which need to use same port number.&lt;BR /&gt;&lt;BR /&gt;Is it possible to configure same port number to two services.&lt;BR /&gt;&lt;BR /&gt;The OS is HP-UX 11.31&lt;BR /&gt;&lt;BR /&gt;Sagar</description>
    <pubDate>Thu, 03 Jun 2010 04:39:31 GMT</pubDate>
    <dc:creator>Sagar Sirdesai</dc:creator>
    <dc:date>2010-06-03T04:39:31Z</dc:date>
    <item>
      <title>Two Servcies need the same port number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641677#M613986</link>
      <description>Hi &lt;BR /&gt;We have two applications which need to use same port number.&lt;BR /&gt;&lt;BR /&gt;Is it possible to configure same port number to two services.&lt;BR /&gt;&lt;BR /&gt;The OS is HP-UX 11.31&lt;BR /&gt;&lt;BR /&gt;Sagar</description>
      <pubDate>Thu, 03 Jun 2010 04:39:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641677#M613986</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2010-06-03T04:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Two Servcies need the same port number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641678#M613987</link>
      <description>I don't think so.&lt;BR /&gt;&lt;BR /&gt;Only a single process can listen on a port.</description>
      <pubDate>Thu, 03 Jun 2010 05:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641678#M613987</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-06-03T05:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Two Servcies need the same port number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641679#M613988</link>
      <description>Thanks Torsten,&lt;BR /&gt;&lt;BR /&gt;If two entries exists will first entry in services get preferance</description>
      <pubDate>Thu, 03 Jun 2010 05:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641679#M613988</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2010-06-03T05:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Two Servcies need the same port number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641680#M613989</link>
      <description>/etc/services is not really related.</description>
      <pubDate>Thu, 03 Jun 2010 05:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641680#M613989</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-06-03T05:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Two Servcies need the same port number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641681#M613990</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;I'll make entries in the /etc/services file with service name and ports.&lt;BR /&gt;&lt;BR /&gt;Please elaborate how services is not relevant here&lt;BR /&gt;&lt;BR /&gt;Sagar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 05:53:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641681#M613990</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2010-06-03T05:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Two Servcies need the same port number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641682#M613991</link>
      <description>Yes .. it possible to configure same port number to two services&lt;BR /&gt;&lt;BR /&gt;But its not possible to run both applications simultaneously.&lt;BR /&gt;&lt;BR /&gt;only one will be running at a time.&lt;BR /&gt;&lt;BR /&gt;Gudluck&lt;BR /&gt;Prasanth&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 05:55:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641682#M613991</guid>
      <dc:creator>Prasanth V Aravind</dc:creator>
      <dc:date>2010-06-03T05:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Two Servcies need the same port number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641683#M613992</link>
      <description>See my post here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1432551" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1432551&lt;/A&gt;</description>
      <pubDate>Thu, 03 Jun 2010 05:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641683#M613992</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-06-03T05:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Two Servcies need the same port number</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641684#M613993</link>
      <description>This may be possible, but only if both applications have an option to bind them to a specific network interface/IP address only.&lt;BR /&gt;&lt;BR /&gt;If your network is, for example, 10.20.30.0/24, and your server has IP address 10.20.30.101 configured to its NIC (lan0 for example) now, you should allocate a second IP address from the same network segement. Let's say it's 10.20.30.102.&lt;BR /&gt;&lt;BR /&gt;Then set up a IP alias lan0:1 with the IP address 10.20.30.102 and the same netmask as the original IP address. &lt;BR /&gt;&lt;BR /&gt;If you want to test it, it can be set up with a simple ifconfig command:&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0:1 10.20.30.102 netmask 255.255.255.0&lt;BR /&gt;&lt;BR /&gt;(If you're familiar with editing /etc/rc.config.d/netconf, an IP alias can be added to it just like a regular network interface. Simply use "lan0:1" as the interface name.)&lt;BR /&gt;&lt;BR /&gt;Adding a second physical NIC connected to the same network segment and configuring it with the new IP address would not work: you would need APA configuration for that, and you would then have to create an IP alias on top of the APA aggregate anyway.&lt;BR /&gt;&lt;BR /&gt;When your IP alias is running and you can ping it from other systems on the same network, you can start configuring your applications. Bind one application to each interface (or IP address).&lt;BR /&gt;&lt;BR /&gt;If only one application has an option to bind it to a specific IP address/interface, it might still work as long as you always first start the application that *has* the binding option. But this is a work-around I wouldn't want to use in a production system...&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 03 Jun 2010 06:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/two-servcies-need-the-same-port-number/m-p/4641684#M613993</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-06-03T06:26:47Z</dc:date>
    </item>
  </channel>
</rss>

