title: Change URL opened by Eclipse when running web application project on Tomcat
body: <p>I have the following setup:</p>
  
  <ul>
  <li>Eclipse dynamic web application project</li>
  <li>Tomcat 7 configured as Server in Eclipse Mars</li>
  <li>https running on port 8443</li>
  </ul>
  
  <p>Now, right clicking <em>Project -> Run as -> Run on Server</em> will start the Tomcat and open the URL "<a href="http://localhost:8080/mywebapp" rel="nofollow">http://localhost:8080/mywebapp</a>" via external browser. This is nice but I need to open the URL with <strong>HTTPS</strong> scheme, i.e. "<a href="https://localhost:8443/mywebapp" rel="nofollow">https://localhost:8443/mywebapp</a>". Anyone knows how to configure that in Eclipse? I thought it must be possible to change the startup URL but couldn't find an option, nor something on SO.</p>
  
  <p>Similar questions and their answers suggest to make the web.xml with security constraint and transport garantuee set to CONFIDENTIAL but I don't want to change the web.xml because it would be different in production environment.</p>
  
  <p>I also tried to make Tomcat redirect from HTTP 8080 to HTTPS 8443 but it seems to be not possible.</p>