vmss服务器中没有Internet连接 [英] No internet connectivity in the vmss server

查看:67
本文介绍了vmss服务器中没有Internet连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用JSON脚本在应用程序网关下部署了虚拟机规模集服务器(Linux).哪个工作正常.

We deployed the virtual machine scaleset server(Linux) under the application gateway with a JSON script. Which is working fine.

我们想检查扩展过程,因此我们尝试通过登录来对vmss服务器进行负载测试.我们使用了一个跳转服务器来登录vmss服务器.然后我们发现那里有Internet连接.请帮助我们解决问题.

We want to check the scale-up process so we tried to load test the vmss server by logging into it. We used a jump server to login inside the vmss server. Then we found that there is internet connectivity there. Please help us solving the issue.

推荐答案

连接到规模集虚拟机的网络安全组可能不包含端口80的出站规则,该规则允许HTTP流量.值得检查网络安全组以查看此规则是否存在.我也会 建议确保Linux操作系统的防火墙允许HTTP流量.

It's possible that the Network Security Group that's attached to the scale set Virtual Machine does not contain an outbound rule for port 80 which allows HTTP traffic. It's worth checking the Network Security Group to see if this rule exists. I would also recommend making sure the Linux operating system's firewall is allowing HTTP traffic.

为便于参考,我们提供了以下指南,该指南显示了如何作为JSON模板的一部分为秤创建网络安全组.

For your reference, we have the following guide which shows how you can create a Network Security Group for your scale as part of your JSON template.

https://docs.microsoft.com/zh-CN/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-networking#nsg-per-scale-set

如果此答案有帮助,请单击标记为答案"或向上投票.要提供有关您的论坛体验的其他反馈,请单击 此处

If this answer was helpful, click "Mark as Answer" or Up-Vote. To provide additional feedback on your forum experience, click Here


这篇关于vmss服务器中没有Internet连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆