.NET CORE start multiple instances of the test Consul successful configuration

Run two WebApi up service

cd into the corresponding DLL project folder path 

dotnet corresponding to the start of the project .dll --urls = "http: // *: 5726" --ip = "127.0.0.1" --port = 5726

dotnet corresponding to the start of the project .dll --urls = "http: // *: 5727" --ip = "127.0.0.1" --port = 5727

 

To see http: // localhost: 8500 multiple services and the heartbeat detection

Guess you like

Origin www.cnblogs.com/Blog-JJ/p/11458885.html