How to use AlternateAddress in java SDK?

I create a multinode cluster using docker. then I realized it’s not possible to access via java SDK unless using the AlternateAddress feature. But I’m struggling to use it and unable to find a good example on the internet.
Can anyone help?
Thanks in advance…

Hello @Ihide not sure if this helps but worth looking at