I\'m using grails 2.0.4. And I want to use port:8090 instead of 8080 for localhost. So need help to change the port to 8090 permanently.
There are two options:
grails.serverURL
in Config.groovy
from "http://localhost:8080/${appName}"
to "http://localhost:8090/${appName}"
. -Dgrails.server.port.http=8090
on the command line. Set the GRAILS_OPTS
environment variable to -Dgrails.server.port.http=8090
to have it applied automatically.