Azure Service Fabric local deployment results in DnsService error: DnsService UDP listener is unable to start

Azure Service Fabric local deployment results in DnsService error: DnsService UDP listener is unable to start

问题

我正在开发 Azure Service Fabric 无状态服务。虽然我之前在本地部署过,但目前遇到以下错误:

DnsService UDP listener is unable to start. Please make sure there are no processes listening on the DNS port 53.

我尝试过的东西

编辑:

其他相关信息

可以成功部署到Azure集群,所以我相当确定问题出在本地集群上。但是删除集群重新部署并不能解决错误!

如何解决此 DnsService 错误?

如错误信息所示:

Please make sure there are no processes listening on the DNS port 53.

从您提供的屏幕截图中显示的错误消息中,是否可以看到其他服务正在侦听端口 53,因此该服务无法正常工作。

This github issue描述问题。

综上所述,问题很可能是 Internet 连接共享 (ICS) 服务 或侦听端口 53 的其他服务。您必须停止这些服务才能使 DNS 服务正常工作。

要找出使用端口 53 的服务,您可以按照此问题的答案进行操作: How can you find out which process is listening on a port on Windows?

我根据 answer to another 卸载了 Docker。这是最有弹性的答案,因为我当时能够成功部署 x 10。:-)