java.net.SocketException: Permission denied

apache.org | 7 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

    SocketException - Hadoop Wiki

    apache.org | 7 months ago
    java.net.SocketException: Permission denied
  2. 0

    SocketException - Hadoop Wiki

    apache.org | 6 months ago
    java.net.SocketException: Permission denied
  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 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. Netty
    DefaultThreadFactory$DefaultRunnableDecorator.run
    1. io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:125)
    2. io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:522)
    3. io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1196)
    4. io.netty.channel.ChannelHandlerInvokerUtil.invokeBindNow(ChannelHandlerInvokerUtil.java:108)
    5. io.netty.channel.DefaultChannelHandlerInvoker.invokeBind(DefaultChannelHandlerInvoker.java:214)
    6. io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:208)
    7. io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:1003)
    8. io.netty.channel.AbstractChannel.bind(AbstractChannel.java:216)
    9. io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:357)
    10. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:322)
    11. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:356)
    12. io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:703)
    13. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
    13 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame