Error: connect ECONNREFUSED

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
Any help would be appreciated

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?