SpringCloud(第二天加強)

1.使用IP註冊服務 a)  修改服務提供者和服務消費者的yml配置文件 eureka: instance: hostname: localhost prefer-ip-address: true #使用IP地址註冊到註冊中心 instance-id: PROVIDER-NAME #註冊到註冊中心的名稱 client: service-url:
相關文章
相關標籤/搜索