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

2 years 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

2 years 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

2 years ago

Here is a screenshot. It won't connect.

Attachments


6-000-000
PROOP

2 years ago

Are there additional setup steps? Please let me know.


2 years 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 over 1 year ago


6-000-000
PROOP

2 years ago

I tried that and it still doesn't connect.


Status changed to Awaiting Railway Response Railway over 1 year ago


2 years ago

What host and port have you tried to use?


Status changed to Awaiting User Response Railway over 1 year ago


6-000-000
PROOP

2 years ago

using the service url

Attachments


Status changed to Awaiting Railway Response Railway over 1 year ago


2 years ago

You need to use the public port.


Status changed to Awaiting User Response Railway over 1 year ago


6-000-000
PROOP

2 years ago


Status changed to Awaiting Railway Response Railway over 1 year ago


brody

You need to use the public port.

6-000-000
PROOP

2 years ago

What is the public port? 1883?


2 years 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 over 1 year ago


6-000-000
PROOP

2 years ago

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


Status changed to Awaiting Railway Response Railway over 1 year ago


2 years ago

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


Status changed to Awaiting User Response Railway over 1 year ago


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...