9 Replies Latest reply on Sep 21, 2010 1:57 AM by Adrian H

    https starting up on wrong port

    Advait Newbie

      I have this specification in deploy/jboss-web.deployer/server.xml

      <Connector port="24443" address="${jboss.bind.address}"
       maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
       emptySessionPath="true" SSLEnabled="true"
       scheme="https" secure="true" clientAuth="false"
       keystoreFile="${jboss.server.home.dir}/conf/ssl/ImportKey.jks"
       keystorePass="secret" sslProtocol = "TLS" />
      


      But when i start the server it starts https on 24364 and this line is also available in server.log

      Starting Coyote HTTP/1.1 on http-****.corp.****.com%2F172.20.97.7-24364
      


      Also the file tmp/server62079.xml contains this specification:

      <Connector port="24364" address="${jboss.bind.address}" maxThreads="100" strategy="ms" maxHttpHeaderSize="8192" emptySessionPath="true" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" keystoreFile="${jboss.server.home.dir}/conf/ssl/ImportKey.jks" keystorePass="secret" sslProtocol="TLS"/>
      


      I am not sure how it gets generated!! I also tried starting the server after deleting tmp directory. But still the same file is generate in tmp and same port is used. Why is it not taking the port 24443 specified in server.xml?