Configure Grails app to run on different port
The obvious, and most widely suggested method of changing default HTTP port that Grails app listens on, is to add command line switch:
tomek@jabuszko:~$ grails run-app -Dgrails.server.port.http=9900
Personally, I don’t like this. Command line became a bit lengthy. Creating extra run configuration in Eclipse. Not for lazy hacker like me. It’s much simpler to edit grails-app/conf/BuildConfig.groovy, add
grails.server.port.http = 9900
and voila!
Polski
English




