-
Hello everyone. I followed the documentation carefully, but I just can’t connect my Vue.js application to the NATS server. I keep getting this error:
However, this is not a trivial error. Look: the first IP belongs to Docker’s internal network. It’s not even the default configured IP for NATS. But there’s a catch: inside Docker, each new call uses a different port, just like router NAT. That makes debugging even harder, because I haven’t found any way to use wildcards (like So I tried putting NATS behind NGINX. Same problem. Even though NGINX is on the same network inside Docker, it still keeps changing ports constantly. That’s what’s keeping me up at night. Has anyone faced this before or knows how to solve it? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to solve it migrating from NGINX to Traefik. |
Beta Was this translation helpful? Give feedback.
I was able to solve it migrating from NGINX to Traefik.