java.net.SocketException: Permission denied

GitHub | dinoba | 5 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    Using Jar files - failed to bind to [1001]

    GitHub | 5 months ago | dinoba
    java.net.SocketException: Permission denied
  2. 0

    포트를 80으로 변경시 오류가 납니다

    GitHub | 2 years ago | ahb0327
    org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:80
  3. 0
    samebug tip
    The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Boot running app on port 80

    Stack Overflow | 1 year ago | 5er
    java.net.SocketException: Permission denied
  6. 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

  1. Handemelindo 10 times, last 4 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. Netty
    DeadLockProofWorker$1.run
    1. org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
    2. org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
    3. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
    4. org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
    5. org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    6. org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
    6 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames