External IP unable to access and met error of cannot connect to server for my AKS pod.

Tan Boon Huan 20 Reputation points
2025-01-21T07:19:59.8466667+00:00

my AKS's pod service is load balancer and have external IP assigned, and I do not see any firewall and Network Security Group rules blocking the traffic, but Network Security Group did have one default rule set to "Deny".

User's image

my service does not have ingress explicitly restricts the traffic also. So, what is the other reason causing I unable to access it via external IP?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,236 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nikhil Duserla 3,960 Reputation points Microsoft Vendor
    2025-01-23T10:11:21.4066667+00:00

    Hi @Tan Boon Huan ,

    Thank you for reaching us again.

    I have tried working with the YAML script you provided, and it is working fine. I am able to deploy it successfully. The issue might be with your subscription, as you mentioned you are using the free trial versionUser's image

    Azure free trial subscriptions have limits on resources, including public IP addresses. Both static and dynamic IPs are supported, but static IPs count towards your limit, even if unused.

    Navigate to Public IP addresses list and delete which is not associated.

    If you need any further assistance, please let us know. We are happy to help.

    0 comments No comments

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.