java.net.SocketException: Permission denied 2017-02-02T23:11:44.074293+00:00 app[web.1]: 2017-02-02 23:11:44.074:INFO:oejs.ServerConnector:main: Stopped ServerConnector@31da0434{SSL-http/1.1}{0.0.0.0:443}


Samebug tips

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

server.port=${port:8181}

,
via Stack Overflow by Daniil Shevelev

Solutions on the web

Solution icon of stackoverflow
Permission denied 2017-02-02T23:11:44.074293+00:00 app[web.1]: 2017-02-02 23:11:44.074:INFO:oejs.ServerConnector:main: Stopped ServerConnector@31da0434{SSL-http/1.1}{0.0.0.0:443}

Solution icon of coderanch
via Coderanch by A. Aka, 5 months ago
Permission denied

Solution icon of github
via GitHub by stas1000
, 11 months ago
Permission denied

Solution icon of github
Permission denied

Solution icon of googlegroups
via Google Groups by Mirko Stocker, 1 year ago
Permission denied

Solution icon of googlegroups
via Google Groups by soma srikanth, 11 months ago
Permission denied

Solution icon of stackexchange-serverfault
via Server Fault by Amit Dubey
, 3 months ago
Permission denied

Solution icon of stackexchange-serverfault
Permission denied

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
Permission denied

Solution icon of stackoverflow
Permission denied

Stack trace

java.net.SocketException: Permission denied
2017-02-02T23:11:44.074293+00:00 app[web.1]: 2017-02-02 23:11:44.074:INFO:oejs.ServerConnector:main: Stopped ServerConnector@31da0434{SSL-http/1.1}{0.0.0.0:443}
	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.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
	at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
	at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.server.Server.doStart(Server.java:366)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at ring.adapter.jetty$run_jetty.invokeStatic(jetty.clj:137)
	at foo.server$_main.invokeStatic(server.clj:9)
	at ring.adapter.jetty$run_jetty.invoke(jetty.clj:100)
	at foo.server$_main.doInvoke(server.clj:7)
	at clojure.lang.RestFn.invoke(RestFn.java:397)
	at clojure.lang.Var.invoke(Var.java:375)
	at clojure.lang.AFn.applyToHelper(AFn.java:152)
	at clojure.lang.Var.applyTo(Var.java:700)
	at clojure.core$apply.invokeStatic(core.clj:646)
	at clojure.main$main_opt.invokeStatic(main.clj:314)
	at clojure.main$main_opt.invoke(main.clj:310)
	at clojure.main$main.invokeStatic(main.clj:421)
	at clojure.main$main.doInvoke(main.clj:384)
	at clojure.lang.RestFn.invoke(RestFn.java:421)
	at clojure.lang.Var.invoke(Var.java:383)
	at clojure.lang.Var.applyTo(Var.java:700)
	at clojure.lang.AFn.applyToHelper(AFn.java:156)
	at clojure.main.main(main.java:37)

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

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