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

a year 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

a year 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

a year ago

Here is a screenshot. It won't connect.

Attachments


6-000-000
PROOP

a year ago

Are there additional setup steps? Please let me know.


a year 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 about 1 year ago


6-000-000
PROOP

a year ago

I tried that and it still doesn't connect.


Status changed to Awaiting Railway Response Railway about 1 year ago


a year ago

What host and port have you tried to use?


Status changed to Awaiting User Response Railway about 1 year ago


6-000-000
PROOP

a year ago

using the service url

Attachments


Status changed to Awaiting Railway Response Railway about 1 year ago


a year ago

You need to use the public port.


Status changed to Awaiting User Response Railway about 1 year ago


6-000-000
PROOP

a year ago


Status changed to Awaiting Railway Response Railway about 1 year ago


brody

You need to use the public port.

6-000-000
PROOP

a year ago

What is the public port? 1883?


a year 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 about 1 year ago


6-000-000
PROOP

a year ago

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


Status changed to Awaiting Railway Response Railway about 1 year ago


a year ago

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


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...