java.net.SocketException: Permission denied

Stack Overflow | bright-star | 3 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Permission denied errors when listening on HTTPS ports with ring on Heroku

    Stack Overflow | 3 weeks ago | bright-star
    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}
  2. 0

    GitHub comment 179#269924755

    GitHub | 2 months ago | MichaelBlume
    java.net.BindException: Address already in use

  1. Handemelindo 10 times, last 3 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Permission denied

    at sun.nio.ch.Net.bind0()
  2. Java RT
    ServerSocketAdaptor.bind
    1. sun.nio.ch.Net.bind0(Native Method)
    2. sun.nio.ch.Net.bind(Net.java:433)
    3. sun.nio.ch.Net.bind(Net.java:425)
    4. sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
    5. sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
    5 frames
  3. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
    2. org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
    3. org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
    4. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    5. org.eclipse.jetty.server.Server.doStart(Server.java:366)
    6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    6 frames
  4. kifshare
    jetty$run_jetty.invoke
    1. ring.adapter.jetty$run_jetty.invokeStatic(jetty.clj:137)
    2. ring.adapter.jetty$run_jetty.invoke(jetty.clj:100)
    2 frames
  5. foo
    server$_main.invokeStatic
    1. foo.server$_main.invokeStatic(server.clj:9)
    1 frame
  6. Clojure
    RestFn.invoke
    1. clojure.lang.RestFn.invoke(RestFn.java:397)
    1 frame
  7. foo
    server$_main.doInvoke
    1. foo.server$_main.doInvoke(server.clj:7)
    1 frame
  8. Clojure
    main.main
    1. clojure.lang.Var.invoke(Var.java:375)
    2. clojure.lang.AFn.applyToHelper(AFn.java:152)
    3. clojure.core$apply.invokeStatic(core.clj:646)
    4. clojure.lang.Var.applyTo(Var.java:700)
    5. clojure.main$main_opt.invokeStatic(main.clj:314)
    6. clojure.main$main_opt.invoke(main.clj:310)
    7. clojure.main$main.invokeStatic(main.clj:421)
    8. clojure.main$main.doInvoke(main.clj:384)
    9. clojure.lang.Var.invoke(Var.java:383)
    10. clojure.lang.AFn.applyToHelper(AFn.java:156)
    11. clojure.lang.RestFn.invoke(RestFn.java:421)
    12. clojure.lang.Var.applyTo(Var.java:700)
    13. clojure.main.main(main.java:37)
    13 frames