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

Guillaume LILLETTE 116 Reputation points
2021-02-11T09:32:17.74+00:00

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).

66931-image.png

66904-image.png

Can you help me please ?

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Guillaume LILLETTE 116 Reputation points
    2021-02-11T13:09:31.903+00:00

    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 17,326 Reputation points MVP Volunteer Moderator
    2021-02-11T09:44:39.557+00:00

    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
    2021-02-11T10:44:06.127+00:00

    @SUNOJ KUMAR YELURU ,
    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

    66923-image.png


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.