{"id":916,"date":"2023-03-11T17:08:17","date_gmt":"2023-03-11T09:08:17","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=916"},"modified":"2023-04-29T15:49:17","modified_gmt":"2023-04-29T07:49:17","slug":"spring-cloud-eureka-registry-service-status-change","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/11\/spring-cloud-eureka-registry-service-status-change\/","title":{"rendered":"Spring Cloud Eureka\u6ce8\u518c\u4e2d\u5fc3\u670d\u52a1\u72b6\u6001\u53d8\u66f4"},"content":{"rendered":"<h3>\u5254\u9664\u670d\u52a1\uff1aOUT_OF_SERVICE<\/h3>\n<p>put\u8bf7\u6c42\uff1a<code>http:\/\/127.0.0.1:8000\/eureka\/apps\/SERVICE-APPBLOG\/192.168.0.1:service-appblog:8080\/status?value=OUT_OF_SERVICE<\/code><\/p>\n<p><!-- more --><\/p>\n<h3>\u6062\u590d\u670d\u52a1\uff1aUP<\/h3>\n<p>put\u8bf7\u6c42\uff1a<code>http:\/\/127.0.0.1:8000\/eureka\/apps\/SERVICE-APPBLOG\/192.168.0.1:service-appblog:8080\/status?value=UP<\/code><\/p>\n<p>\u8bf4\u660e\uff1a<\/p>\n<p>1) <code>127.0.0.1:8000<\/code>\u4e3aeureka\u7684ip\u548c\u7aef\u53e3<br \/>\n2) <code>SERVICE-APPBLOG<\/code>\u4e3a\u670d\u52a1\u540d\u79f0\uff08eureka\u540e\u53f0\u9875\u9762\u67e5\u770b\uff09<br \/>\n3) <code>192.168.0.1:service-appblog:8080<\/code>\u4e3a\u60f3\u8981\u5254\u9664\/\u6062\u590d\u7684\u5b9e\u4f8b\uff08eureka\u540e\u53f0\u9875\u9762\u67e5\u770b\uff09<br \/>\n4) PUT\u8bf7\u6c42\u7684header\u8bbe\u7f6e<code>Authorization\uff1axxx<\/code>\uff08\u767b\u5f55eureka F12\u67e5\u770b\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5254\u9664\u670d\u52a1\uff1aOUT_OF_SERVICE put\u8bf7\u6c42\uff1ahttp:\/\/127.0.0.1:8000\/eureka\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[248],"class_list":["post-916","post","type-post","status-publish","format-standard","hentry","category-spring-cloud","tag-eureka"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=916"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/916\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}