chat-app-react-redux-saga-websockets icon indicating copy to clipboard operation
chat-app-react-redux-saga-websockets copied to clipboard

WebSocket Connection Refused

Open FacundoMalgieri opened this issue 7 years ago • 1 comments

Hello

thank you very much for your tutorial I followed it till the end and I could understand redux and sagas a lot. I'm having this issue though, I tried several solutions I found online but couldnt fix it. To see if I was doing something wrong in my code, I cloned your repository as is and installed all the dependencies and had the same error.

Browser: Chrome v63 WebSocket connection to 'ws://localhost:8989/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

Hope you can help me, thanks!

FacundoMalgieri avatar Jan 24 '18 05:01 FacundoMalgieri

i found at tail end of this video - https://www.youtube.com/watch?v=x_fHXt9V3zQ we need to cd into the /server directory and type node app.js to start the socket server [separate from npm start in the main directory /starting the app]

Ed.

ewellein avatar Apr 24 '18 23:04 ewellein