Error: connect ECONNREFUSED 127.0.0.1:3001

On page 316, after installing wscat,
I ran the command wscat - c ws://localhost:3001
I’ve got this message on my console:
error: Error: connect ECONNREFUSED 127.0.0.1:3001
Any help would be appreciated
Best,
Olivier

You should run first npm run dev in a console, in another console you should later run wscat - c ws://localhost:3001

Thank you incubusj :slight_smile:

I am still getting this issue despite running nodemon any thoughts?