Azurev VM doesn't connect to internet

leli eee 0 Reputation points
2024-03-03T07:26:04.76+00:00

Hello, I have a Windows 11 VM in Azure. When I try to go to Google or any website it just says time out. What can I do to get internet working?

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,384 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,400 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sedat SALMAN 13,735 Reputation points
    2024-03-03T08:35:03.0066667+00:00

    most of the time it is related with NSG issues

    Check the NSG associated with your VM's subnet, ensuring the following outbound security rules exist:

    • Allow port 80 (HTTP)
    • Allow port 443 (HTTPS)
    • Allow DNS traffic (port 53 UDP and TCP)

    In addition

    • Ensure your VM's subnet has a valid default gateway configured for routing traffic outside of the Azure Virtual Network.
    • Verify that the VM has appropriate DNS servers configured that can resolve internet domain names. You can use Azure's default DNS or reliable public options like 8.8.8.8 or 1.1.1.1

    Also here is the official troubleshooting document by Microsoft

    https://learn.microsoft.com/en-us/azure/virtual-network/troubleshoot-vm-connectivity


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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