title: How do you start a java servlet over https?
body: <p>I am trying to run a servlet on tomcat in eclipse. When i do run on server, the servlet runs and provides me with a link like follows: </p>
  
  <p>"http://localhost:8443/AuthServer/Server"</p>
  
  <p>I have configured my Tomcat server for SSL as follows:</p>
  
  <pre><code>&lt;Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
                 maxThreads="150" scheme="https" secure="true"
                 clientAuth="false" sslProtocol="TLS" keystoreFile="C:\Users\owner\.keystore" keystorePass="sheetalkshirsagar"&gt;
  </code></pre>
  
  <p>When I run the servlet on server it still uses http.
  I want my link to the servlet to be "https://..." instead of "http://..". How do you do that?</p>