[英]Associating public IP in Azure
I think I'm going crazy. 我想我快要疯了。 I am trying to associate a public IP with my VM in Azure.
我正在尝试将公共IP与我在Azure中的VM相关联。 I have done this before, but now something seems wrong.
我以前做过,但是现在似乎有些问题。 I associate the IP and the change does not stick for some reason?
我关联了IP,并且由于某些原因更改没有保留? Maybe I am just missing something.
也许我只是想念一些东西。 I took a little video to show my steps.
我拍了一段视频来展示我的步骤。 http://d.pr/i/pyBE
http://d.pr/i/pyBE
Any idea what I could be doing wrong? 知道我做错了什么吗?
Cheers Dan 干杯丹
Sorry if I am telling you things your already know, but (at least on my laptop), your video doesn't show the last steps of your configuration of your networkinterface web001182. 抱歉,如果我告诉您您已经知道的事情,但是(至少在笔记本电脑上),您的视频没有显示配置网络接口web001182的最后步骤。
Are you doing the following actions : 您是否正在执行以下操作:
Go into Settings 进入设置
Then Click on IP addresses 然后点击IP地址
Then Enabled Public IP address 然后启用公共IP地址
Then configure require settings with your existing NewIPApril26. 然后使用现有的NewIPApril26配置要求设置。
Hope this helps 希望这可以帮助
Best regards 最好的祝福
Stéphane 斯特凡
After a bunch of digging, it seems I needed to fix it via the Azure cli. 经过一番挖掘,似乎我需要通过Azure cli对其进行修复。 I needed to associate the public IP that was already created to the Network Interface.
我需要将已经创建的公共IP与网络接口相关联。
The command was: azure network nic set -g myresourcegroup -p mypublicipname mynicname 命令为:azure network nic set -g myresourcegroup -p mypublicipname mynicname
It seems my GUI portal is broken, because even my Network Security Groups needed to be edited via CLI. 看来我的GUI门户已损坏,因为即使我的网络安全组也需要通过CLI进行编辑。 I have notified Azure.
我已通知Azure。
azure network nsg rule create -p TCP -u 80 azure network nsg rule create -p TCP -u 443 天蓝色网络nsg规则创建-p TCP -u 80天蓝色网络nsg规则创建-p TCP -u 443
I hope this helps someone. 我希望这可以帮助别人。 Dan
担
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.