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.
我尝试过的东西
- 在本地重新部署
- 从托盘菜单停止和重置集群
- 正在从我的机器上删除集群
- 检查以确保集群清单的
DnsService
参数 IsEnabled
设置为 True
- 从头开始新的应用程序
- Azure Service Fabric (OneBox) has constantly failed DnsService尚未提供解决方案
编辑:
- Stopping and disabling the ICS service 对我的情况没有帮助,因为 ICS 在我重新启动机器时重新启动。
其他相关信息
我可以成功部署到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。:-)
问题
我正在开发 Azure Service Fabric 无状态服务。虽然我之前在本地部署过,但目前遇到以下错误:
DnsService UDP listener is unable to start. Please make sure there are no processes listening on the DNS port 53.
我尝试过的东西
- 在本地重新部署
- 从托盘菜单停止和重置集群
- 正在从我的机器上删除集群
- 检查以确保集群清单的
DnsService
参数IsEnabled
设置为True
- 从头开始新的应用程序
- Azure Service Fabric (OneBox) has constantly failed DnsService尚未提供解决方案
编辑:
- Stopping and disabling the ICS service 对我的情况没有帮助,因为 ICS 在我重新启动机器时重新启动。
其他相关信息
我可以成功部署到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?
我根据