Java program failing with None of the configured nodes are available

What do you have in port?

Also did you define network.host on the server?