How to change the HTTP port from 8080 to 80 in Appian 25.2?

Certified Lead Developer

Hi everyone,

I'm working with Appian 25.2 on Windows, and I want to change the default HTTP port from 8080 to 80.

Here’s what I’ve done so far:

  1. I did not modify anything in <APPIAN_HOME>, as per Appian's official recommendations.

  2. I located the file tomcatResources.xml inside <REPO_HOME>\conf.

  3. I added this connector definition:

    <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="443" />
  4. I ran configure.bat from the root of the configuration repository. It completed successfully with no errors.

  5. I did not start the Appian environment, I only checked the generated file at:

    <APPIAN_HOME>\tomcat\apache-tomcat\conf\server.xml

    And I noticed that the port is still set to 8080 instead of 80.

 What else should I check or configure to get the port changed properly to 80?

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer

    In the end, I manually edited the server.xml file located at <APPIAN_HOME>/tomcat/apache_tomcat/conf/,
    adding the HTTPS connector on the default port, and now it's working.
    The question was whether this configuration could be set from the repo so that it would be applied during deployment,
    but since I already have it working, I'm closing the case.

Reply
  • +1
    Certified Lead Developer

    In the end, I manually edited the server.xml file located at <APPIAN_HOME>/tomcat/apache_tomcat/conf/,
    adding the HTTPS connector on the default port, and now it's working.
    The question was whether this configuration could be set from the repo so that it would be applied during deployment,
    but since I already have it working, I'm closing the case.

Children
No Data