尝试公开VM公共IP [英] Trying to expose VM public IP

查看:52
本文介绍了尝试公开VM公共IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个具有公共和私有IP地址的虚拟机。我正试图通过互联网来访问它,因为我无法访问公共广播地址。我执行'ipconfig  / all',它只列出了私有IP作为首选。你能做些什么来解决这个问题?

I have a VM with a public and private IP address. I'm trying to access it throw the internet by I can't reach the public address. I execute an 'ipconfig /all' and it listed only the private IP as the preferred. What can you do to solve this?

推荐答案

 

Hi, 

您需要允许您尝试在网络安全组中访问与NIC /子网关联的端口。 

You need to allow the ports which you are trying to access in Network Security Group which is associated to NIC/Subnet. 

这是一个有助于创建允许RDP端口的NSG规则的指南:  https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-nsg-problem

Here is a guide which will help to create NSG rule to allow RDP port: https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-nsg-problem

问候, 

Msrini


这篇关于尝试公开VM公共IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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