ERROR WebSocket connection to 'ws://localhost:3001/red/comms' failed:

I have just embedded node-red in a Node.js web app with all default settings and I am getting this web browser error:

ERROR WebSocket connection to 'ws://localhost:3001/red/comms' failed

Clearly, I have not created an endpoint at /red/comms but my question is, once I create this WS endpoint, what should it do? is there documentation for this or perhaps complete embedding installation Guide?

Thank you!

Send a payload to it.

LOL! hahaha yes I know... what I meant is, I receive whatever payload comes in but then what am I supposed to do with the payload and WHY is it sending WS requests there? what's the purpose?

Ideally, there could be a complete guide on embedding? otherwise I'll be asking questions again and again... thank you!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.