<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>changing port 8080 to 80</title>
  <link rel="self" href="https://vmrcre.org/ca/c/message_boards/find_thread?p_l_id=30182&amp;threadId=174735" />
  <subtitle>changing port 8080 to 80</subtitle>
  <id>https://vmrcre.org/ca/c/message_boards/find_thread?p_l_id=30182&amp;threadId=174735</id>
  <updated>2026-04-29T15:15:48Z</updated>
  <dc:date>2026-04-29T15:15:48Z</dc:date>
  <entry>
    <title>RE: changing port 8080 to 80</title>
    <link rel="alternate" href="https://vmrcre.org/ca/c/message_boards/find_message?p_l_id=30182&amp;messageId=174755" />
    <author>
      <name>Troy A. Griffitts</name>
    </author>
    <id>https://vmrcre.org/ca/c/message_boards/find_message?p_l_id=30182&amp;messageId=174755</id>
    <updated>2019-07-17T20:49:19Z</updated>
    <published>2019-07-17T20:49:18Z</published>
    <summary type="html">Well, there&amp;#39;s &amp;#34;easy&amp;#34; and there&amp;#39;s &amp;#34;recommended&amp;#34; &lt;img alt="emoticon" src="https://vmrcre.org/o/classic-theme/images/emoticons/happy.gif" &gt;&lt;br /&gt;&lt;br /&gt;The easy way is simply to stop tomcat, modify tomcat/conf/server.xml, searching for 8080 and change it to 80&lt;br /&gt;&lt;br /&gt;But then you&amp;#39;ll need to start your portal up as root, with full permission on your server because only root can serve on ports under 1024.&lt;br /&gt;&lt;br /&gt;The &amp;#34;recommended&amp;#34; way is to let some hardened web server on your box proxy tomcat to the rest of the world.  I typically do this with apache httpd server, this requires installing mod_jk for apache and then configuring appropriately.  I include my configuration file for one of our instances of vmrcre (CoptOT) in your source code checkout under community/liferay/apach-httpd*&lt;br /&gt;&lt;br /&gt;You could also run nginx and proxy port 8080 to 80, which is pretty easy to setup.&lt;br /&gt;&lt;br /&gt;None of this is vmrcre-specific, so you should be able to find information with &amp;#34;how to safely serve tomcat on port 80&amp;#34;.&lt;br /&gt;&lt;br /&gt;Let me know if you need help.  I&amp;#39;m pretty excited you&amp;#39;ve gotten this far without any!  Well done!</summary>
    <dc:creator>Troy A. Griffitts</dc:creator>
    <dc:date>2019-07-17T20:49:18Z</dc:date>
  </entry>
  <entry>
    <title>changing port 8080 to 80</title>
    <link rel="alternate" href="https://vmrcre.org/ca/c/message_boards/find_message?p_l_id=30182&amp;messageId=174734" />
    <author>
      <name>Ken M. Penner</name>
    </author>
    <id>https://vmrcre.org/ca/c/message_boards/find_message?p_l_id=30182&amp;messageId=174734</id>
    <updated>2019-07-17T19:12:52Z</updated>
    <published>2019-07-17T19:12:52Z</published>
    <summary type="html">I read the following:&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;Ultimately, you&amp;#39;ll probably want to use Apache httpd as your web server and integrate the Liferay-included Tomcat bundle with Apache httpd using mod_jk so your public URLs won&amp;#39;t be :8080 (you could also simply do this by changing the port Tomcat runs its httpd server at from 8080 to 80, but then you&amp;#39;ll need to run Tomcat as root-- not recommended).  For a demo, you can decide if your URLs can be :8080&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;I don&amp;#39;t want my public URLs to be :8080. So, what&amp;#39;s the recommended way to change this?</summary>
    <dc:creator>Ken M. Penner</dc:creator>
    <dc:date>2019-07-17T19:12:52Z</dc:date>
  </entry>
</feed>

