Connect to a service on an VM in backend-pool behind a load balancer through Private Link Service

Peter Ha 0 Reputation points
2024-12-19T08:13:21.32+00:00

Hi,

I have a VNet in a resource group with below elements:

  1. A VM with a Kafka broker listening on its public and private IPs and ports.
  2. A Standard Load-Balancer in front of the VM with LB rules to Kafka broker listening ports.
  3. A Private Link Service attached to above LB.
  4. I have a SAP BTP subaccount with Private Link Service. I created a Private Endpoint from the subaccount to above Private Link Service and it is approved.
  5. I have an application running on my BTP subaccount space and already bound with the Private Link Service successfully.

I tried to consume the message from the Kafka broker through the Private Endpoint but I got connection refused. I tried to use both LB's IP and VM's IP but I had no luck.

Any idea why I got the error in open connection to the VM via LB's IP and through Private Endpoint?

Regards,

Steven

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,575 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
463 questions
{count} votes

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.