Edit <APP_DIR>\grails-app\conf\application.yml to add or edit the following lines:

---
server:
   port: <PORT_NUMBER>

Where:

<APP_DIR> is the directory created by using the grails create-app command.
<PORT_NUMBER> is the desired port to be used in the app.