Change Grails Internal Tomcat Port

Posted 04/30/2017 11:12 AM by Corey Klass

By default, the grails run-app command, as well as running a Grails WAR from the terminal or as a Windows service, creates an instance of Tomcat on port 8080. To change this, edit the /grails-app/conf/application.yml file and create a new server section with the port number that you want:

    port: 9001