Can't connect to EMQX
6-000-000
PROOP

10 months ago

I recently deployed the EMQX template. But I cannot connect to the service using MQTTX on port 1883. Everything uses the defaults. I tried the URL for the caddy and again for the docker container, both on ports 1883. Nothing seems to work.

Solved

13 Replies

6-000-000
PROOP

10 months ago

Also, even the websocket client in the dashboard app refuses to connect. Am I missing something here? It's frustrating the hell out of me.


6-000-000
PROOP

10 months ago

Here is a screenshot. It won't connect.

Attachments


6-000-000
PROOP

10 months ago

Are there additional setup steps? Please let me know.


brody
EMPLOYEE

10 months ago

Hello,

Looks like you are attempting to connect to the web dashboard instead of the emqx instance.

You can find the correct host and port in the emqx service settings under the networking section.


Status changed to Awaiting User Response Railway 10 months ago


6-000-000
PROOP

10 months ago

I tried that and it still doesn't connect.


Status changed to Awaiting Railway Response Railway 10 months ago


brody
EMPLOYEE

10 months ago

What host and port have you tried to use?


Status changed to Awaiting User Response Railway 10 months ago


6-000-000
PROOP

10 months ago

using the service url

Attachments


Status changed to Awaiting Railway Response Railway 10 months ago


brody
EMPLOYEE

10 months ago

You need to use the public port.


Status changed to Awaiting User Response Railway 10 months ago


6-000-000
PROOP

10 months ago


Status changed to Awaiting Railway Response Railway 10 months ago


brody

You need to use the public port.

6-000-000
PROOP

10 months ago

What is the public port? 1883?


brody
EMPLOYEE

10 months ago

That is the private port, you can find the public port in the emqx service settings under the networking section.


Status changed to Awaiting User Response Railway 10 months ago


6-000-000
PROOP

10 months ago

It works. Thank you! Can you make this more obvious in the documentation somewhere?


Status changed to Awaiting Railway Response Railway 10 months ago


brody
EMPLOYEE

10 months ago

Railway does not own the template, it is a user provided template.


Status changed to Awaiting User Response Railway 10 months ago


Status changed to Solved brody 10 months ago


Loading...