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

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

Accepted answer
  1. Rohith Vinnakota 1,600 Reputation points Microsoft Vendor
    2024-12-31T00:23:27.5433333+00:00

    Hi @Peter Ha

    Sorry for inconvenience.

    I have created private link services for the private endpoint in Azure, so I recommend using that NIC ip.

    User's image

    Please attempt to establish a connection using the hostname provided in the credentials.

    If you have any further concerns, please do not hesitate to contact us.We are pleased to help you.

    Thanks,

    Rohith

    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.