Hi ,
Thanks for reaching out to Microsoft Q&A.
Troubleshooting timeout errors
- Check network access: azure managed Redis (premium/enterprise tiers) blocks public access by default when private endpoints are enabled. Verify that your local machine is connected to the same VNet via VPN or ExpressRoute.
DNS resolution: Ensure your local system resolves the Redis private endpoint to the private IP (use nslookup <redis-name>.privatelink.redis.cache.windows.net).
Firewall and NSG rules: Confirm that port 6380 (TLS) is open between your machine and the Redis private endpoint.
Client config: Use ssl=True and the correct access key in your Redis client.
Connecting via Private Endpoint
Private endpoints are only accessible from within the linked VNet or peered VNets. To connect locally, use Azure Bastion, Jumpbox VM, or VPN into the same VNet.
Generating test data for diagnostics:
Use the Azure Portal or redis-cli to insert sample data-->
redis-cli -h <redis-endpoint> -a <access-key> --tls
set testkey "testvalue"
- Once data is written, enable Diagnostic Settings -> Send to Log Analytics/Storage/Event Hub to capture and inspect auditing logs.
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.