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, compiling:(/tmp/form-init1066665034600069929.clj:1:73)

    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
      ServerSocketChannelImpl.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.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      5. sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
      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.doInvoke
      1. foo.server$_main.invokeStatic(server.clj:9)
      2. foo.server$_main.doInvoke(server.clj:7)
      2 frames
    6. Clojure
      main.main
      1. clojure.lang.RestFn.invoke(RestFn.java:397)
      2. clojure.lang.Var.invoke(Var.java:375)
      3. clojure.lang.AFn.applyToHelper(AFn.java:152)
      4. clojure.lang.Var.applyTo(Var.java:700)
      5. clojure.main$main_opt.invokeStatic(main.clj:314)
      6. clojure.core$apply.invokeStatic(core.clj:646)
      7. clojure.main$main_opt.invoke(main.clj:310)
      8. clojure.main$main.invokeStatic(main.clj:421)
      9. clojure.main$main.doInvoke(main.clj:384)
      10. clojure.lang.RestFn.invoke(RestFn.java:421)
      11. clojure.lang.AFn.applyToHelper(AFn.java:156)
      12. clojure.lang.Var.invoke(Var.java:383)
      13. clojure.lang.Var.applyTo(Var.java:700)
      14. clojure.main.main(main.java:37)
      14 frames