Firewalls and virtual networks in Azure Blob

Jan Vávra 316 Reputation points
2024-09-26T14:39:21.3533333+00:00

At networking I have at

Firewalls and virtual networks / Firewall / Add IP ranges to allow access from the internet or your on-premises networks /

2 ips.

First Ip is our on-premises ip and following command works fine

az storage blob list --account-name "$saName" --account-key "$key" --container-name "$container" --output table

Second ip is from a public Ip address attached an Linux Azure VM. From the Linux machine shell I've verified the ip using

curl -L ipconfig.me

On the Azure VM az storage blob list failed. What is the proper way to set up IP from Azure VM?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,842 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 94,306 Reputation points
    2024-09-26T15:10:46.18+00:00

    Hi Jan,

    Instead of adding the public IP address of the Linux VM, please add existing virtual network -- subnet that VM is in. Save the change, wait a couple of minutes, and then test again.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.