Hi Alex,
The settings which reference the service name of the NameNode are in the hdfs-site.xml. I would expect that your clients outside of the cluster require these files to know what to connect with. If you’re connecting over webhdfs then you would need to use hadoop-httpfs which acts like a proxy between the NameNodes and routes traffic accordingly.
Let me know if you have any questions,
Dave