2 Replies Latest reply on Mar 5, 2015 4:43 AM by valsaraj007

    Change default port of WildFly-8.2.0

    valsaraj007

      Hi,

       

      What is the best method to change the default port 8080 of WildFly-8.2 to 80? I want to apply this in both standalone and domain mode.

       

      Thanks!

        • 1. Re: Change default port of WildFly-8.2.0
          dibu

          There are two easy methods to do this.

          1. Change the socket-binding in the configuration file.

          2. Set the system property on startup. The property names are listed in the configuration file.

           

          The question: "What is the best method", belongs to your requirements. If you always use a default configuration file with no changes then method two are the best method. If you already change the configuration then method one maybe is the best.

          • 2. Re: Change default port of WildFly-8.2.0
            valsaraj007

            I think it is better to use system property as we don't need to change in configuration. In domain mode, there are multiple socket-bindings and we need to change every where. When we use system property, we just need to pass this on start-up.

            1 of 1 people found this helpful