How to set Network for VM to resolve Unable to connect to

Jiri 0 Reputation points

Hello! We are running within virtual network (not sure about the specific as inherited from another owner with very little documentation) and we are adding a new Ubuntu Virtual Machine in there.

We need to install some new packages but unable to reach to, we checked firewalls, security groups, allowed traffic on all ports, but we are still unable to ping or get reply.
Any tip how we can get the packages there?
What conditions are required for the virtual network to be able to hit the archive?

Unable to connect to
Failed to fetch
Unable to fetch some archives

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,284 questions
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,205 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Luis Arias 5,136 Reputation points

    Hi Jiri,

    I recommend you first check the effective security rules on the interface:

    User's image

    After that if you are completly sure that there no block trafic , execute a curl or wget to any file on that repository to verify if it's workin.


    curl --output package.deb

    Let me know if there is an error message.


    Luis Arias

    0 comments No comments