<?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 How to open port? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066867#M87420</link>
    <description>hello,&lt;BR /&gt;&lt;BR /&gt;I need to open ports 8005 and 8081 on my Red hat box. These ports will be used by Tomcat web server 4.0.6.&lt;BR /&gt;&lt;BR /&gt;Please advise how to open these ports.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
    <pubDate>Tue, 09 Sep 2003 14:16:38 GMT</pubDate>
    <dc:creator>OB_1</dc:creator>
    <dc:date>2003-09-09T14:16:38Z</dc:date>
    <item>
      <title>How to open port?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066867#M87420</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;I need to open ports 8005 and 8081 on my Red hat box. These ports will be used by Tomcat web server 4.0.6.&lt;BR /&gt;&lt;BR /&gt;Please advise how to open these ports.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Tue, 09 Sep 2003 14:16:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066867#M87420</guid>
      <dc:creator>OB_1</dc:creator>
      <dc:date>2003-09-09T14:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to open port?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066868#M87421</link>
      <description>You can use ipchains or iptables to setup ports&lt;BR /&gt;&lt;BR /&gt;/etc/services is where the various port(s) &amp;lt;&amp;gt; number(s) are found &lt;BR /&gt;&lt;BR /&gt;ipchains or iptables are started in respectively /etc/init.d/ipchains and /etc/init.d/iptables&lt;BR /&gt;&lt;BR /&gt;theses use config file found respectively &lt;BR /&gt; /etc/sysconfig/iptables-config&lt;BR /&gt;and&lt;BR /&gt;/etc/sysconfig/ipchains-config&lt;BR /&gt;&lt;BR /&gt;in ipchains this would open port 22 (ssh)&lt;BR /&gt;&lt;BR /&gt;-A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;any how have a look at man iptables&lt;BR /&gt;and for more info try link&lt;BR /&gt;&lt;A href="http://www.groovyweb.uklinux.net/?page_name=Linux%20firewall%20Iptables%20Basics%20NHF" target="_blank"&gt;http://www.groovyweb.uklinux.net/?page_name=Linux%20firewall%20Iptables%20Basics%20NHF&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 15:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066868#M87421</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-09-09T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to open port?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066869#M87422</link>
      <description>Huc, congrats on your hat.&lt;BR /&gt;&lt;BR /&gt;You'll also need entries in /etc/services to reserve those ports for you application.&lt;BR /&gt;&lt;BR /&gt;To make sure you have access control, the iptables/ipchains data is extremely important.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 09 Sep 2003 15:41:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066869#M87422</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-09T15:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to open port?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066870#M87423</link>
      <description>Thanks, SEP You are the first to congratulated me  I am touched... Keep looking at this new hat.. very pleased realy !&lt;BR /&gt;&lt;BR /&gt;Ouadi, please forgive this Highjack of this post&lt;BR /&gt;&lt;BR /&gt;J-P</description>
      <pubDate>Tue, 09 Sep 2003 15:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066870#M87423</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-09-09T15:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to open port?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066871#M87424</link>
      <description>Hello again,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your feedback.&lt;BR /&gt;I had a look on iptables help but it seems too complicated for me.&lt;BR /&gt;&lt;BR /&gt;Would anyone be kind enough to give me the exact syntax for iptables ?&lt;BR /&gt;&lt;BR /&gt;Many thanks</description>
      <pubDate>Wed, 10 Sep 2003 07:50:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066871#M87424</guid>
      <dc:creator>OB_1</dc:creator>
      <dc:date>2003-09-10T07:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to open port?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066872#M87425</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Working with IPTables/Chains, etc is not straight forward - I don't understand them properly, but that's not saying much!&lt;BR /&gt;&lt;BR /&gt;I can recommend a firewall package called Shorewall (&lt;A href="http://shorewall.sourceforge.net/)." target="_blank"&gt;http://shorewall.sourceforge.net/).&lt;/A&gt; I happened across it the other week and it has two wonderful features:&lt;BR /&gt;&lt;BR /&gt;1. It is documented extremely well&lt;BR /&gt;2. It is easy to configure.&lt;BR /&gt;&lt;BR /&gt;Inline with the earlier responses, set up your ports in /etc/services and start using them.&lt;BR /&gt;&lt;BR /&gt;Just make sure you have *some* kind of firewall configured to allow the appropriate connections!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Andy Bruce</description>
      <pubDate>Wed, 10 Sep 2003 08:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066872#M87425</guid>
      <dc:creator>Andrew Bruce</dc:creator>
      <dc:date>2003-09-10T08:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to open port?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066873#M87426</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First of all . Are you Firewall in this Red Hat Box ?.&lt;BR /&gt;&lt;BR /&gt;Paste the output of this command.&lt;BR /&gt;&lt;BR /&gt;#iptables -L &lt;BR /&gt;&lt;BR /&gt;Look for any DROP or REJECT rules.&lt;BR /&gt;&lt;BR /&gt;If you have a firewall with strict DROP rule , then you will have to open those ports in the firewall. &lt;BR /&gt;&lt;BR /&gt;#iptables -I INPUT -p tcp --dport 8005 -j ACCEPT &lt;BR /&gt;&lt;BR /&gt;#iptables -I INPUT -p tcp --dport 8081 -j ACCEPT &lt;BR /&gt;&lt;BR /&gt;#service iptables save&lt;BR /&gt;&lt;BR /&gt;Install tomcat and start the tomcat service.&lt;BR /&gt;&lt;BR /&gt;Thats it.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Sep 2003 09:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066873#M87426</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-09-10T09:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to open port?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066874#M87427</link>
      <description>If you are running a firewall it could also be&lt;BR /&gt;ipchains, in this case as root do &lt;BR /&gt;&lt;BR /&gt;ipchains -L &lt;BR /&gt;&lt;BR /&gt;ipchains is less used nowdays because iptables is more "pwerfull/flexible", so go for iptables, using U.SivaKumar example would be a better option.&lt;BR /&gt;&lt;BR /&gt;I try the link Andy Bruce gave us but this returned an error so after searching i found this link &lt;A href="http://www.shorewall.net/" target="_blank"&gt;http://www.shorewall.net/&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;I am reading the shorewall doc now ... very nice!&lt;BR /&gt;&lt;BR /&gt;J-P</description>
      <pubDate>Wed, 10 Sep 2003 10:22:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-port/m-p/3066874#M87427</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-09-10T10:22:37Z</dc:date>
    </item>
  </channel>
</rss>

