Kiran Kumar Kotari
Kiran Kumar Kotari

Reputation: 1160

MongoDB, SparkJava using Maven Connection Error

Error Log :

Listening on 0.0.0.0:4567 2014-11-27 00:37:47,570 WARN - log - FAILED [email protected]:4567: java.net.BindException: Address already in use: JVM_Bind 2014-11-27 00:37:47,572 WARN - log - FAILED org.eclipse.jetty.server.Server@5595a5a9: java.net.BindException: Address already in use: JVM_Bind

Upvotes: 0

Views: 757

Answers (1)

David Griffin
David Griffin

Reputation: 46

you didn't terminate spark properly and it's still running and bound to the default port 4567.

Just close the previous process and restart. If you can't find it or it's running in the background you can use NETSTAT to find the process and kill it.

on windows netstat -b to find the process

Upvotes: 1

Related Questions