Skip to content

I'm Ocelot student. How to setup Consul service discovery? #2285

Answered by raman-m
wangmin915 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! What are your name and social links?

Using version 23.4.3 does not support automatic discovery of Consul service.

To be honest, you reported that something is broken. We will work together to find the cause.

Can you add examples in samples?

We have detailed instructions on how to use Service Discovery with Consul. Please follow these instructions to set up basic configuration of Ocelot + Consul. Additionally, ensure that hosts in ocelot.json are online and able to serve your requests: check DNS names and network availability.

Nuget can automatically discover Consul services using 19.0.4

Version 19.0.4 exists, but there is no official release this (version 19.0.4 was uploaded …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by raman-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Service Discovery Ocelot feature: Service Discovery Consul Service discovery by Consul
2 participants
Converted from issue

This discussion was converted from issue #2284 on April 10, 2025 09:11.