Announcement

Collapse
No announcement yet.

UdpServer.run java.net.BindException: Permission Denied

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • UdpServer.run java.net.BindException: Permission Denied

    Hello, I'm trying to set up NxFilter for the first time on Linux. To clarify, I am using an OS called Garuda that is based off of Arch Linux. The installation process went most of the way through and then had an error and stopped. This was the log:
    Code:
    INFO [09-01 16:22:24] - MM, RecatMan started.
    INFO [09-01 16:22:24] - RMcR, Resolving DNS server : [8.8.8.8, 8.8.4.4]
    INFO [09-01 16:22:24] - RMcR, Adding a upstream resolver : SimpleResolver [/8.8.8.8:53].
    INFO [09-01 16:22:24] - RMcR, Adding a upstream resolver : SimpleResolver [/8.8.4.4:53].
    INFO [09-01 16:22:24] - QDi, Reset user_quota.
    INFO [09-01 16:22:24] - QDi, Loading user_quota.
    INFO [09-01 16:22:24] - MM, RequestHandler started.
    INFO [09-01 16:22:24] - MM, UdpServer started.
    ERROR [09-01 16:22:24] - UdpServer.run, java.net.BindException: Permission denied
    INFO [09-01 16:22:24] - UdpServer.run, Couldn't bind UDP/53. You might want to check your permission!
    INFO [09-01 16:22:24] - ShutdownHook.run, Shutting down on 2021-09-01 16:22:24.
    If anyone could point me in the right direction of where I'm supposed to go with this or to resolve it, please let me know. Thanks!

  • #2
    You may have systemd-resolved running. That is another DNS server causing Port Collision for UDP/53.

    https://www.google.com/search?q=arch...EBYQHjIGCAAQFh AeMgYIABAWEB46BwgAEEcQsANKBAhBGABQqDNYqDNgwTRoAXAC eACAAX2IAX2SAQMwLjGYAQCgAQHIAQjAAQE&sclient=gws-wiz&ved=0ahUKEwiOltza5N7yAhVuFqYKHciEB18Q4dUDCA0&u act=5

    We have the same problem on Ubuntu, https://nxfilter.org/tutorial/a-inst...n-linux.php#ub

    We do the following steps on Ubuntu,

    Code:
    sudo service systemd-resolved stop
    sudo systemctl disable systemd-resolved.service
    sudo rm /etc/resolv.conf
    sudo echo 'nameserver 8.8.8.8' > /etc/resolv.conf

    Comment


    • #3
      Hello im also getting below error

      INFO [10-30 03:15:22] - RMcR, Resolving DNS server : [8.8.8.8, 8.8.4.4]
      INFO [10-30 03:15:22] - RMcR, Adding a upstream resolver : SimpleResolver [/8.8.8.8:53].
      INFO [10-30 03:15:22] - RMcR, Adding a upstream resolver : SimpleResolver [/8.8.4.4:53].
      INFO [10-30 03:15:22] - QDi, Reset user_quota.
      INFO [10-30 03:15:22] - QDi, Loading user_quota.
      INFO [10-30 03:15:22] - MM, RequestHandler started.
      INFO [10-30 03:15:22] - MM, UdpServer started.
      ERROR [10-30 03:15:22] - UdpServer.run, java.net.BindException: Address already in use (Bind failed)
      INFO [10-30 03:15:22] - UdpServer.run, Couldn't bind UDP/53. You might want to check your permission!
      INFO [10-30 03:15:22] - ShutdownHook.run, Shutting down on 2021-10-30 03:15:22.

      Comment


      • #4
        Can you please help to resolve the same

        Comment


        • #5
          Im Using ubuntu20.04 LTS desktop

          Comment


          • #6
            It's mostly because of systemd-resolved. Read this, https://nxfilter.org/tutorial/a-inst...n-linux.php#ub

            Comment

            Working...
            X