Regarding Websockets Connection

I am not able to connect to my websocket server that i have hosted on my aws instance. When i use ws://ip-address:6789 to connect, it successfully connects but when i use wss:// then i am not able to connect. It tries to load for few seconds and then gives error. Please help me with the same.

Cloudflare’s proxy only listens on these ports (unless using Cloudflare Spectrum)…

You can connect by leaving off the port with Origin Rules to tell Cloudflare to connect to your origin on port 6789.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.