Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run grails -Dserver.port=80 run-app, I get

LifecycleException:  Protocol handler initialization failed: Address already in use: JVM_Bind<n                                                          ull>:80
    at org.grails.tomcat.TomcatServer.start(TomcatServer.groovy:212)
    at grails.web.container.EmbeddableServer$ Source)

When I run grails -Dserver.port=80 run-war, the web app runs perfectly.

I'm using Windows 7 and grails 1.3.7 with the built-in tomcat server. I'm new to this, so if you need more information, please ask.

How can I get run-app working on port 80?

share|improve this question

The exception message states that the Address already in use. ie. another application is already taken and is listening on port 80. If the run-war command works successfully, it will have taken port 80. Are you sure that this process has stopped before running the run-app command?

Checkout this question/answer for how to investigate which process is listening on a certain port.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.