Question

I am playing around with immutant and was wondering how to set two things:

  • to setup an alternative ssl port
  • to use port 80 instead of port 8080
Was it helpful?

Solution

To change the http port, you have two options - you can edit $IMMUTANT_HOME/jboss/standalone/configuration/standalone.xml and change the <socket-binding name='http' ... element, or pass -Dhttp.port=80 to lein immutant run or standalone.sh, depending on how you are starting Immutant.

To alter the https port, your only option currently is to edit the <socket-binding name='https' ... entry in $IMMUTANT_HOME/jboss/standalone/configuration/standalone.xml.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top