javax.ws.rs.ProcessingException: Failed to start Grizzly HTTP server: Permission denied

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

,
via Stack Overflow by Daniil Shevelev

The solution is to run as root using sudo or to set different port in application.properties file, e.g.

server.port=${port:8181}

Solutions on the web

via Google Groups by Steve A, 1 year ago
Failed to start Grizzly HTTP server: Permission denied
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
via bitcointalk.org by Unknown author, 2 years ago
Failed to start Grizzly HTTP server: Address already in use
via bitcointalk.org by Unknown author, 1 year ago
Failed to start Grizzly HTTP server: Address already in use
javax.ws.rs.ProcessingException: Failed to start Grizzly HTTP server: Permission denied
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)

Users with the same issue

2 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
2 times, 7 months ago
10 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 more bugmates

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