问答详情
源自:3-3 多节点 Eureka Server 的搭建

服务注册server没理解

http://img1.mukewang.com/5f855b200001885c12540562.jpg

idea启动server1后,访问还是用localhost:8000访问,项目源码不修改 user服务注册不进去

需要把http://server1:8000/eureka/ 修改为 http://localhost:8000/eureka/ 才能注册进去, 这块没理解

http://img4.mukewang.com/5f855b8d0001525d08340190.jpg

提问者:xxxxxxxia 2020-10-13 15:48

个回答

  • xxxxxxxia
    2020-10-13 16:19:57

    最开始修改了host文件的ip映射没注意。。后来重新看了一遍看到了