We're Hiring!

Mattermost, Inc.

Websocket socketcluster connect failed

Hi:

Summary

WebSocket connection to ‘ws://localhost:5678/socketcluster/’ failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
I got server and client running on my local machine and able to send and receive message, but browser console keeps showing error WebSocket connection to ‘ws://localhost:5678/socketcluster/’ failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED from file sctransport.js:10, anyone knows how to fix this issue

Steps to reproduce

Run server and web on local machine

Expected behavior

Should be no such error

Observed behavior

Console error

Thanks