javax.ws.rs.ProcessingException: Failed to start Grizzly HTTP server: 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 GitHub by PaulDMendoza
, 1 year ago
Failed to start Grizzly HTTP server: Cannot assign requested address
via GitHub by DreadPirateRob
, 1 year ago
Failed to start Grizzly HTTP server: Address already in use
via GitHub by magic4u
, 1 year ago
Failed to start Grizzly HTTP server: Cannot assign requested address
via GitHub by garrmark
, 1 year ago
Failed to start Grizzly HTTP server: Address already in use
via Stack Overflow by Ari Golub
, 1 year ago
Failed to start Grizzly HTTP server: Cannot assign requested address
via Stack Overflow by krishna Telgave
, 1 year ago
Failed to start Grizzly HTTP server: Address already in use: bind
javax.ws.rs.ProcessingException: Failed to start Grizzly HTTP server: 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 org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bindToChannelAndAddress(TCPNIOBindingHandler.java:131)
at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bind(TCPNIOBindingHandler.java:88)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:248)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:228)
at org.glassfish.grizzly.http.server.NetworkListener.start(NetworkListener.java:714)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory.createHttpServer(GrizzlyHttpServerFactory.java:296)
at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:60)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
163 more bugmates

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