java.net.BindException: Невозможно назначить запрошенный адрес ( Cannot assign requested address)

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

Samebug tips

,
Expert tip

It might be that there's another process connecting to the same port you're trying to use, try to kill it or change the connection port.

,
Expert tip

Change the connection port and ip adress. If you're trying to connect to your server from your own computer, check if you haven't already connected to the server in another instance.

Solutions on the web

via Google Groups by Евгений Мартын, 1 year ago
Невозможно назначить запрошенный адрес ( Cannot assign requested address)
via GitHub by TheBlueKingLP
, 2 years ago
via Stack Overflow by Ashwin Swarup
, 1 year ago
Cannot assign requested address: Service 'sparkDriver' failed after 16 retries!
via GitHub by adityardesai
, 8 months ago
Cannot assign requested address: Service 'sparkDriver' failed after 16 retries!
via GitHub by trungtv
, 10 months ago
Cannot assign requested address: Service 'sparkDriver' failed after 16 retries!
via Stack Overflow by Philip O'Brien
, 1 year ago
Cannot assign requested address: Service 'sparkMaster' failed after 16 retries!
java.net.BindException: Невозможно назначить запрошенный адрес ( Cannot assign requested address)
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:125)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:485)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1089)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:440)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:425)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:903)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:198)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:348)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

11 times, 1 hour ago
Once, 3 days ago
28 times, 3 days ago
3 times, 5 days ago
Once, 6 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.