i am unable to connect internet from azure linux vm

Nagesh Kadam (TATA CONSULTANCY SERVICES LTD) 0 Reputation points Microsoft External Staff
2025-01-31T11:40:02.8933333+00:00

We have created azure linux vm's. we are unable to connect to internet from linux vm's

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,557 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 20,101 Reputation points MVP
    2025-01-31T12:05:42.78+00:00

    Hi,

    The internet access availability issues you are experiencing are due to multiple reasons. The first thing to check is the NSG rules created as below

    User's image

    If it is looking good, check the LISTEN status of ports like 443, 22, 80 etc. using the following command

    netstat --tcp --listen --numeric-ports

    Let's check further if the above steps are not helping

    Hope this helps.


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


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.