title: Specifying Tomcat 7 to use port 8443 only in Eclipse
body: <p>Normally, I configured my Tomcat 7 to perform redirect from port 8080 to 8443. Below is the portion of the configuration and everything works as expected.</p>
  
  <p><strong>server.xml</strong></p>
  
  <pre><code>&lt;Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1"
      connectionTimeout="20000" redirectPort="8443" /&gt;
  &lt;!-- Define a SSL HTTP/1.1 Connector on port 8443 This connector uses the 
      JSSE configuration, when using APR, the connector should be using the OpenSSL 
      style configuration described in the APR documentation --&gt;
  
  &lt;Connector SSLEnabled="true" clientAuth="false"
      keystoreFile="conf/somestore" keystorePass="somekey"
      maxThreads="200" port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
      scheme="https" secure="true" sslProtocol="TLS" /&gt;
  </code></pre>
  
  <p>Only today, I decided to removed the first connector from configuration. However after I hit start the server button in Eclipse everything seems fine except the message says Starting Tomcat 7 never ends.</p>
  
  <p><img src="https://i.stack.imgur.com/4MpyT.pngin" alt="enter image description here"></p>
  
  <p>and eventually this:</p>
  
  <p><img src="https://i.stack.imgur.com/UQYMQ.png" alt="enter image description here"></p>
  
  <p>By the way, this issue only appears in Tomcat within Eclipse. Is it possible that Eclipse is still trying to access the application through the old port ? Any pointers is much appreciated.</p>
  
  <p><strong>UPDATED</strong></p>
  
  <p>After I double clicked the server instance, I am only able to see two ports number under <code>Ports</code> section.</p>
  
  <ol>
  <li>Tomcat Admin Port which is 8005</li>
  <li>SSL Port which is 8443</li>
  </ol>