I'm not able to connect to my temporal server using tcp proxy

jvmachadorjHOBBY

6 months ago

I have a temporal server deployed using https://railway.app/template/AhDDtZ

However I can't connect externally using tcp proxy.

I'm using a tcp proxy `junction.proxy.rlwy.net:52630 -> :7233` and when I use this on my temporal worker I can't connect

3 Replies

6 months ago

Is temporal listening on the host 0.0.0.0 ?


jvmachadorjHOBBY

6 months ago

Yes. This is the dockerfile

```

FROM temporalio/auto-setup:1.21.3

ARG DB DBNAME DB_PORT POSTGRES_USER POSTGRES_PWD POSTGRES_SEEDS

COPY dynamic.yaml /etc/temporal/config/dynamicconfig/dynamic.yaml

ENV DYNAMIC_CONFIG_FILE_PATH="config/dynamicconfig/dynamic.yaml"

# :: doesnt work due to some docker mapping things (docker.yaml), might need to look into if 0.0.0.0 doesnt listen on ipv6 for private networking

ENV BIND_ON_IP="0.0.0.0"

ENV TEMPORAL_BROADCAST_ADDRESS="127.0.0.1"

```


6 months ago

From your deploy logs -

TEMPORAL_ADDRESS is not set, setting it to fd12:aa44:4a50::a3:24be:fb76:7233

You will want to have temporal listen on 0.0.0.0