yidongnan / spring-cloud-consul-example

spring-cloud-consul-example is an example for microservices system
MIT License
178 stars 94 forks source link

微服务启动后向docker部署的consul注册时,注册没有成功 #6

Closed yangBin666 closed 7 years ago

yangBin666 commented 7 years ago

查看服务的启动日志: Registering service with consul: NewService{ "id":"dashboard-hystrix-docker-8050", "name":"dashboard-hystrix", "tags":[], "address":"10.42.208.133", "port":8050, "check":{ "script":"null", "interval":10, "ttl":null, "http":"http://10.42.208.133:8050/health", "tcp":null, "timeout":null } } 没有报异常,但是在consul上没有发现该服务。。。

yangBin666 commented 7 years ago

8500端口是通的