Connection Timeout when connecting to Docker based Temporal setup

Hi,

I have Temporal setup in a different machine. I am able to access Temporal UI from my machine but when I try to eexecute below code i get connection timeout error. Please help
I have used the docker imaged mentioned in the Temporal setup.

WorkflowServiceStubs service =
WorkflowServiceStubs.newInstance(
WorkflowServiceStubsOptions.newBuilder()
.setSslContext(SimpleSslContextBuilder.newBuilder(clientCert, clientKey).build())
.setTarget(“117.12.11.12:7233”)
.build());

Hi @Faizan_Kamal, did Maxims reply on your question here: How to point a workflow client or a worker to the remote instance of Temporal server? - #6 by cg1972
help?