运行 来自 Azure 应用服务的 tracert?

Run tracert from an azure app service?

我们正在尝试调试连接问题,但我似乎无法从我的 Azure 应用程序服务(Azure 网站)实例中 运行 tracert。如果我使用 kudu cmd 控制台和 运行 tracert www.ibm.com 我得到错误 "unable to contact IP driver. Error code 1753"

有什么建议吗?

Azure Web 应用服务实例阻止 ICMP。所以你不能在 powershell 和 CMD 上使用 Ping 和 Tracert。但是,我建议您可以在 Azure 网站 kudu 控制台上使用 tcpping

PS D:\home> tcpping www.hotmail.com
Connected to www.hotmail.com:80, time taken: 204ms
Connected to www.hotmail.com:80, time taken: 140ms
Connected to www.hotmail.com:80, time taken: 140ms
Connected to www.hotmail.com:80, time taken: 140ms
Complete: 4/4 successfull attempts (100%). Average success time: 156ms
PS D:\home>