title: Access secure web app without specifying port number
body: <p>I have a simple web app deployed to <code>Tomcat</code> and can access the app using:</p>
  
  <pre><code>http://server.com:8080/PrintHeaders/
  </code></pre>
  
  <p>I've also setup a <code>cert</code> so I can access app securly using:</p>
  
  <pre><code>https://server.com:8443/PrintHeaders/
  </code></pre>
  
  <p>What I'd like to be able to do is access app securly without having to specify a port number e.g:</p>
  
  <pre><code>https://server.com/PrintHeaders/
  </code></pre>
  
  <p>Is this possible?<br/>
  Don't want to break access to any non-secure apps either, so keep port <code>8080</code> available for any requests that specify it.</p>
  
  <p>This is a snippet from <code>$TOMCAT/conf/server.xml</code> ..</p>
  
  <pre><code>&lt;Connector port="8080" protocol="HTTP/1.1"
             connectionTimeout="20000"
             redirectPort="8443" /&gt;
  
  &lt;Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
             maxThreads="150" scheme="https" secure="true"
             clientAuth="false" sslProtocol="TLS"
             keystoreFile="/root/apache-tomcat-7.0.37/keystore"
             keystorePass="passw0rd" /&gt;
  </code></pre>