eureka:
  instance:
    hostname: 134.x.x.x
    prefer-ip-address: true  #以ip形式注册
    ip-address: 134.x.x.x #外网IP
    non-secure-port: 8761 #外网端口

注册服务要配置外网ip和端口

 

服务器防火墙要开放服务的对应端口

 

相关文章:

  • 2020-10-19
  • 2021-06-11
  • 2022-01-01
  • 2021-07-24
  • 2022-12-23
  • 2021-12-14
  • 2021-08-17
猜你喜欢
  • 2022-01-01
  • 2021-08-30
  • 2021-08-14
  • 2021-11-02
  • 2022-12-23
  • 2021-11-13
相关资源
相似解决方案