How to connect nodejs and browser?


I am trying to connect browser nodes and nodejs nodes using webrtc-start, I am able to connect
browser-to-browser, nodejs-to-nodejs, but when a browser node connects with a nodejs node and vice-versa, it immediately disconnects

I took the code from here GitHub - HighCWu/js-libp2p-webrtc-star-example, I also tried to run webrtc-signalling-server on my own computer, but it didn’t solve the problem.

How can I solve this ? Thanks.

Hi, it was my mistake, I was running the code with an old node version, with version 16 works great.