Access Service IP inisde AKS network

Kopl 166 Reputation points

Hey team,

I have created a service in AKS and exposed that service. The endpoint is <SERVICE_IP>:5000.

When I try curl -X GET "https:<SERVICE_IP>:5000" inside the pod, I get the data.

However, when I try it in another pod (raw nginx pod in same namespace), I get Access Denied although the service is exposed.

Could you please help?


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.
1,850 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Kopl 166 Reputation points

    Hello @guybarette and @Sam Cogan , I had some gateway restrictions of the service that were restricting access. By relaxing those restrictions, I am able to hit the service.
    Thanks for your help!

    0 comments No comments