Cannot access the internet from my VMs

Ori Gilgun 41 Reputation points
2020-07-16T07:08:02.457+00:00

I have several VMs in the same virtual network using the network configuration of static IP through Azure. I have a DNS server in my VNet as well.

Two of the VMs cannot access the internet for some reason. They receive the same DNS configuration from Azure which is my DNS server.
DNS resolution works just fine however I cannot access the internet at all and cannot ping anything outside the VNet.

I added an outbound port rule to allow http+https connectivity and the connection troubleshoot from the portal to those machines works.
Firewalls are off.
No proxy settings in IE.

12617-ie.png

I have no idea what I am missing.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,616 questions
0 comments No comments
{count} votes

Accepted answer
  1. UkDanR 96 Reputation points
    2020-07-18T22:10:18.13+00:00

6 additional answers

Sort by: Most helpful
  1. Manu Philip 17,751 Reputation points MVP
    2020-07-16T07:22:50.383+00:00

    Hi,

    Please check if this is due to any incorrect Windows firewall rules. You can test it by temporarily disabling Windows Firewall on those two machines

    Please mark as "Accept the answer" if the answer helps you. Your suggestion will help others also !

    Regards,
    Manu


  2. Manu Philip 17,751 Reputation points MVP
    2020-07-16T07:31:55.623+00:00

    Hello,
    Apology for not noticing the Windows Firewall status you mentioned in original post.
    I am seeing that you just enabled outbound port access for http and https as mentioned in your post. Actually, inbound port rules also need to be changed for these protocols. Could you please check that too

    12597-image.png

    Please mark as "Accept the answer" if the answer helps you. Your suggestion will help others also !

    Regards,
    Manu


  3. Anonymous
    2020-07-16T14:40:47.35+00:00

    Does it work with defaults?
    Control Panel\System\Windows firewall\Advanced then in right hand pane Restore Default Policy

    --please don't forget to Accept as answer if the reply is helpful--


  4. Manu Philip 17,751 Reputation points MVP
    2020-07-16T14:53:31.077+00:00

    Hello,
    I think, you may go for detailed network check as the conventional troubleshooting steps didn't help. Please check the link below and have a detailed check
    troubleshoot-vm-connectivity

    0 comments No comments