Unable to connect to Remote Elastic Setup via Transport Client

Do you have any security layer?

Is there a way around it?

Not sure. If you have a proxy and that proxy redirects 9300 public traffic to the 9300 private one, that might work but I'm unsure.

Again, I'd not use the TransportClient but the RestClient.