问题:
手动修改config-client.properties的内容后,刷新 config Server URL: http://localhost:8888/config-client/default/master, 修改的内容可以被显示过来,
但是刷新config client URL: http://localhost:8080/, 看到的还是修改前的内容。
尝试用postman发消息给http://localhost:8080/refresh, 然后再刷新http://localhost:8080/, 看到的还是修改前的内容。没有变化。
而且Post给http://localhost:8080/refresh,返回的是404错误
解决:
网上一顿搜,发现有的是post给server 有的是post给client,但是都不好使。
尝试一下URL均不好使
http://localhost:8080/refresh
http://localhost:8080/actuator/bus-refresh
http://localhost:8888/actuator/bus-refresh
修