io.netty.channel.unix.Errors$NativeIoException: bind() failed: Permission denied

GitHub | jayv | 8 months 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

    GitHub comment 1231#244241832

    GitHub | 8 months ago | jayv
    io.netty.channel.unix.Errors$NativeIoException: bind() failed: Permission denied
  2. 0

    Using EpollEventLoopGroup with authbind fails to bind to privileged ports

    GitHub | 8 months ago | jayv
    io.netty.channel.unix.Errors$NativeIoException: bind() failed: Permission denied

    Root Cause Analysis

    1. io.netty.channel.unix.Errors$NativeIoException

      bind() failed: Permission denied

      at io.netty.channel.unix.Errors.newIOException()
    2. io.netty.channel
      Socket.bind
      1. io.netty.channel.unix.Errors.newIOException(Errors.java:109)
      2. io.netty.channel.unix.Socket.bind(Socket.java:231)
      2 frames
    3. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.channel.epoll.EpollServerSocketChannel.doBind(EpollServerSocketChannel.java:91)
      2. io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554)
      3. io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258)
      4. io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:511)
      5. io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:496)
      6. io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980)
      7. io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250)
      8. io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:363)
      9. io.netty.util.concurrent.SingleThreadEventExecutor.safeExecute(SingleThreadEventExecutor.java:451)
      10. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418)
      11. io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:306)
      12. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)
      13. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
      13 frames