0 Replies Latest reply on Sep 19, 2014 1:59 AM by Matthew Casperson

    How do I get the Tomcat 7 Embedded container to use another port?

    Matthew Casperson Newbie

      I have Arquillian setup in Gradle to spin up a REST server and run some tests against a REST client. Everything works fine, except for the fact that the server hosting the CI already uses port 8080.

       

      I have added the following settings to my build.gradle file

       

      arquillian {

        containers {

          tomcat {

            version = '7'

            config = ['bindHttpPort': 18080]

            type = 'embedded'

          }

        }

      }

       

      But it has no effect. How can I change the port used by the embedded tomcat 7 container?