user3255950
user3255950

Reputation: 19

starting grails gives me: `Server failed to start for port 8080: Address already in use: JVM_Bind`

I am using groovy and grails tool suite( ggts ), when run grail application the following error fire:

Server failed to start for port 8080: Address already in use: JVM_Bind
                                      (Use --stacktrace to see the full trace)

so guide me on this situation.

Upvotes: 0

Views: 2255

Answers (1)

Igor Artamonov
Igor Artamonov

Reputation: 35951

You have to stop other app listening 8080 port, or use a different port. Like 8081:

grails -Dserver.port=8081 run-app 

Also you could configure Grails to always use 8081 port by adding into grails-app/conf/Config.groovy following line:

grails.server.port.http=8081

Upvotes: 2

Related Questions