private static String host = "192.0.0.1";
本地地址不能寫成127.0.0.1 應該寫成localhost 否則報錯
[None of the configured nodes are available: [{#transport#-1}{eMCQZdrcSf-RrmRw3fcjTQ}{192.0.0.1}{192.0.0.1:9300}]]
private static String host = "192.0.0.1";
本地地址不能寫成127.0.0.1 應該寫成localhost 否則報錯
[None of the configured nodes are available: [{#transport#-1}{eMCQZdrcSf-RrmRw3fcjTQ}{192.0.0.1}{192.0.0.1:9300}]]