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:
---
server:
port: 9001