无法从我的私人局域网中的 Windows 计算机访问 Azure 应用服务。

huangapple go评论55阅读模式
英文:

Can't reach Azure App Service from within my private LAN on a windows machine

问题

今早我注意到,我在Azure中运行的所有Web应用都无法访问了。
我最初以为是Azure自身的问题,但当我尝试使用手机热点连接时,一切都正常。
问题似乎只存在于我自己家中的局域网中,但只有Azure受到影响。

当我尝试访问一个网站时,我收到以下消息:

无法从我的私人局域网中的 Windows 计算机访问 Azure 应用服务。

我也无法进行nslookup:

无法从我的私人局域网中的 Windows 计算机访问 Azure 应用服务。

我在浏览互联网时没有任何问题。所有其他网站都可以正常工作...但我甚至不知道从哪里开始解决这个问题。
有人知道一种诊断工具吗?这里可能出了什么问题...?

昨天我没有访问这些服务时出现任何问题。

英文:

This morning I noticed that none of the web apps I am running in Azure is reachable anymore.
I first thought its an issue with Azure itself, but when I try to connect with a mobile hotspot (through my phone) everything works as expected.
The problem seems only to exist in my own LAN at home but only Azure is affected.

When I try to navigate to a website, I get the following message:

无法从我的私人局域网中的 Windows 计算机访问 Azure 应用服务。

I also cannot nslookup it:

无法从我的私人局域网中的 Windows 计算机访问 Azure 应用服务。

I do not have any problem with surfing the internet. All other sites work fine... but I don't even know where to start on solving this problem.
Does anybody know a tool to diagnose this? What could be wrong here...?

I did not have any issues with accessing the services yesterday.

答案1

得分: 0

自昨天没有出现问题以来,我的第一个问题是:你在本地网络中有做任何更改吗?

也许是一些新的防火墙规则,或者在主机文件中进行了一些测试的条目?

当你尝试只使用 IP 访问 Azure 时,是否有效?如果有效,那么你需要查看你的 DNS。(也许尝试使用 Google DNS 8.8.8.8)

英文:

Since you had no Problems yesterday, my first question is: Did you change anything in your local Network?

Maybe some new Firewall rules or maybe some entry in your Host File for testing?

When you try to access Azure with only the IP, does that work? If yes then you have to look at your DNS.(maybe try Google DNS 8.8.8.8)

答案2

得分: 0

在近年来,DNS已经成为互联网中最脆弱的部分,因为许多其他组件都得到了显著加强。

就像您发现的那样,由于某些未知原因,您的计算机连接的DNS未能同步正确的Azure相关记录。如果您了解全球DNS基础设施的糟糕维护情况,这并不是一个罕见的问题。

通常的解决方案包括:

  • 切换到由默认ISP提供的DNS服务之外的其他DNS服务,如Google/Cloudflare公共DNS服务器很受欢迎,还有许多其他不错的选择。
  • 修改您的hosts文件(但这太复杂了)。
英文:

In recent years, DNS has become the most vulnerable part of the internet, as many other components are strengthened significantly.

Like you discovered, for some unknown reasons the DNS your machine connects to failed to sync the proper Azure related records. That's not an uncommon issue if you read about how badly DNS infrastructure around the globe was maintained.

Usual solutions are,

  • Switch to other DNS service than your default ISP provided ones, Google/Cloudflare public DNS servers are popular, and there are many other good options.
  • Hack your hosts file (but that's too complicated).

huangapple
  • 本文由 发表于 2023年2月14日 00:18:47
  • 转载请务必保留本文链接:https://go.coder-hub.com/75438533.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定