java.net.BindException: Address already in use (Bind failed)


Solutions on the web

Solution icon of github
Address already in use (Bind failed)

Solution icon of github
Address already in use (Bind failed)

Solution icon of stackexchange-askubuntu
via Ask Ubuntu by CH325
, 9 months ago
Address already in use (Bind failed)

Solution icon of stackoverflow
Address already in use (Bind failed)

Solution icon of github
Address already in use (Bind failed)

Solution icon of github
Address already in use (Bind failed)

Solution icon of googlegroups
via Google Groups by grant donovan, 10 months ago
Address already in use (Bind failed)

Solution icon of pentaho
via Pentaho BI Platform Tracking by Samuel Brezáni, 6 months ago
Address already in use (Bind failed)

Solution icon of stackoverflow
Address already in use (Bind failed)

Solution icon of stackoverflow
Address already in use (Bind failed)

Stack trace

java.net.BindException: Address already in use (Bind failed)
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at org.apache.camel.component.mllp.MllpTcpServerConsumer.doStart(MllpTcpServerConsumer.java:118)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3375)
	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3692)
	at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3628)
	at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3548)
	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3312)
	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3166)
	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:183)
	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2961)
	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2957)
	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2980)
	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2957)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2924)
	at org.wildfly.camel.test.mllp.MllpTcpServerConsumerTest.testReceiveSingleMessage(MllpTcpServerConsumerTest.java:80)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

15 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 1 day ago
84 times, 3 months ago
24 more bugmates