Skip to content

problem and solved "[FATAL] listen udp 127.0.0.1:53: bind: permission denied" #2714

Description

@zhuyingda

I encountered the same issue as described in this issue

Environment details:

MacOS 13.7, Homebrew 4.3.18

problem detail and solved workaround

I installed dnscrypt-proxy using homebrew and started the service with sudo brew services start dnscrypt-proxy , as port 53 requires root privileges. When checking the logs, I also saw multiple [NOTICE] Network connectivity detected and [FATAL] listen udp 127.0.0.1:53: bind: permission denied messages.
I resolved the issue by running brew services stop dnscrypt-proxy and then sudo brew services restart dnscrypt-proxy.

I believe the cause of the "permission denied" error was an existing dnscrypt-proxy process started by Homebrew, which conflicted with the new service start attempt.

I wish it would be helpful to others.

Activity

  1. locked and limited conversation to collaborators on Oct 26, 2024
  2. converted this issue into a discussion #2715 on Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions