No internet acces on my vm Windows (Windows Server 2016 Datacenter)

Guillaume LILLETTE 116 Reputation points

Hello, I am currently testing a Windows (Windows Server 2016 Datacenter) on Azure.

After the deployment I do not access the internet. (I have a lot of linux machine on azure and I have never encountered this problem).



Can you help me please ?

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,414 questions
0 comments No comments
{count} votes

Accepted answer
  1. Guillaume LILLETTE 116 Reputation points

    I found solution.

    • Create a pool with my VM
    • Create a outbound rules for my pool

    I don't understand why I didn't have to do this for my ubuntu VMs (apt-get upgrade works fine) .
    I would have liked to prevent this machine from being exposed to the internet.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 13,996 Reputation points MVP

    Hi @Guillaume LILLETTE
    To access internet in azure VM's you requred public IP attached to the VM Or Azure Virtual Network NAT simplifies outbound-only Internet connectivity for virtual networks. When configured on a subnet, all outbound connectivity uses your specified static public IP addresses..

    Before you can connect to the public IP address from the internet, ensure that you have the necessary ports open in any network security group (NSG) that you might have associated to the network interface.
    Associate a public IP address to a virtual machine
    Tutorial: Create a NAT gateway using the Azure portal

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.

    0 comments No comments

  2. Guillaume LILLETTE 116 Reputation points

    thank you for this quick response.

    I have a public IP.
    The VM is behind a load balancer, but I don't think it's problem (it's the same configuration for my linux VMs)

    Other information the name google .com is resolved