4,110 questions
- what should my bot messaging endpoint be?
When using an Azure Load Balancer, your bot messaging endpoint should be the public IP address or DNS name of the load balancer, followed by the specific path to your bot's messaging endpoint. For example, if your load balancer's DNS name ismyloadbalancer.azure.com
and your bot's messaging endpoint is/api/messages
, your full endpoint would behttps://myloadbalancer.azure.com/api/messages
. - How does the Azure Load Balancer affect the endpoint? The Azure Load Balancer distributes incoming network traffic across multiple instances of your bot, which helps improve availability and scalability. It ensures that your bot can handle more traffic and remain responsive even if one or more instances fail.
- Do I need to include the port? Yes, you do need to include the port in your endpoint if your bot is listening on a specific port other than the default HTTPS port (443). For example, if your bot is listening on port 8080, your endpoint would be
https://myloadbalancer.azure.com:8080/api/messages
Document Link-https://learn.microsoft.com/en-us/azure/bot-service/bot-service-overview?view=azure-bot-service-4.0