Reputation:
Hi I'm using activemq for our project and every time I run activemq in our local network but I'm always getting this error even though nothing is running on port 61616
2013-04-03 08:48:28,139 | ERROR | Failed to start Apache ActiveMQ (localhost, ID:batag-1562-1364950107650-0:1). Reason: java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616?maximumConnections=1000&wireformat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind | org.apache.activemq.broker.BrokerService | main java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616?maximumConnections=1000&wireformat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind
I tested on other routers, sometimes it does work but most of the time I get this error.
Upvotes: 2
Views: 12913
Reputation: 81
Go to Control Panel -- > View Network Connections --> Right click on your connected network and click on properties.
A new pop up window appears. in that window select sharing tab and disable network sharing.
Automatically 61616 port will released. and you can start activemq
Upvotes: 8
Reputation: 694
I had the same issue, nothing was showing up with netstat.
Solution was to disable "Internet Connection Sharing" service.
Upvotes: 10