The error you have received is raised when an attempt is made to invoke a network operation upon an unresolved socket address. Which means that the address you are giving is not correct.
Well the question can be closed - I just learned that the owner of the service only allows connections through http, which he secured, because otherwise he can't control who is connected, and Java client doesn't have an option connecting through http and uses a different protocol, so it cannot be used...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.