一、设置外网访问
network.host: 设置成当前ecs的内网IP
discovery.seed_hosts: 设置成ecs的内网IP,如果多少IP则就填多个
二、设置内网访问
network.host: 设置成127.0.0.1
discovery.seed_hosts: 设置成ecs的内网IP,如果多少IP则就填多个
一、设置外网访问
network.host: 设置成当前ecs的内网IP
discovery.seed_hosts: 设置成ecs的内网IP,如果多少IP则就填多个
二、设置内网访问
network.host: 设置成127.0.0.1
discovery.seed_hosts: 设置成ecs的内网IP,如果多少IP则就填多个