Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JDK Bug System by Felix Yang, 1 year ago
Address already in use at sun.nio.ch.Net.bind0(java.base@9-internal/Native Method) at sun.nio.ch.Net.bind(java.base@9-internal/Net.java:433) at sun.nio.ch.Net.bind(java.base@9-internal/Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind
java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(java.base@9-internal/Native Method)
	at sun.nio.ch.Net.bind(java.base@9-internal/Net.java:433)
	at sun.nio.ch.Net.bind(java.base@9-internal/Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(java.base@9-internal/ServerSocketChannelImpl.java:225)
	at sun.nio.ch.ServerSocketAdaptor.bind(java.base@9-internal/ServerSocketAdaptor.java:74)
	at sun.net.httpserver.ServerImpl.<init>(jdk.httpserver@9-internal/ServerImpl.java:101)
	at sun.net.httpserver.HttpServerImpl.<init>(jdk.httpserver@9-internal/HttpServerImpl.java:50)
	at sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(jdk.httpserver@9-internal/DefaultHttpServerProvider.java:35)
	at com.sun.net.httpserver.HttpServer.create(jdk.httpserver@9-internal/HttpServer.java:129)	at undefined.SimpleHttpServerTest.main(SimpleHttpServerTest.java:52)