java.lang.RuntimeException: java.net.SocketException: Permission denied

GitHub | ymchandra | 6 months ago
  1. 0

    Socket Exception when starting the server

    GitHub | 6 months ago | ymchandra
    java.lang.RuntimeException: java.net.SocketException: Permission denied
  2. 0
    The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}
  3. 0

    Spring Boot running app on port 80

    Stack Overflow | 1 year ago | 5er
    java.net.SocketException: Permission denied
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Play 2.4.x Failed to bind to: /0.0.0.0:443 SocketException: Permission denied

    Stack Overflow | 1 year ago | BalaB
    org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:443
  6. 0

    After configuring Nexus 3 SSL Nexus no longer runs without sudo

    Stack Overflow | 12 months ago | Cloudlady911
    java.net.SocketException: Permission denied

  1. Handemelindo 10 times, last 2 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. XNIO NIO Implementation
    NioXnioWorker.createTcpConnectionServer
    1. org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)
    1 frame
  4. XNIO API
    XnioWorker.createStreamConnectionServer
    1. org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
    1 frame
  5. Undertow Core
    Undertow.start
    1. io.undertow.Undertow.start(Undertow.java:142)
    1 frame
  6. org.restheart
    Bootstrapper.main
    1. org.restheart.Bootstrapper.startCoreSystem(Bootstrapper.java:570)
    2. org.restheart.Bootstrapper.startServer(Bootstrapper.java:360)
    3. org.restheart.Bootstrapper.main(Bootstrapper.java:137)
    3 frames