Skip to content

WebSocket connections error #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Jeffchiucp opened this issue Mar 13, 2018 · 2 comments
Open

WebSocket connections error #3

Jeffchiucp opened this issue Mar 13, 2018 · 2 comments

Comments

@Jeffchiucp
Copy link

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

@semsion
Copy link

semsion commented Mar 25, 2018

Is your IP address set correctly? Check in .../src/sockets/index.js

@ewellein
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants