How can I install signal-master properly on an Ubuntu node.js one-clock Droplet?

February 12, 2019 321 views
Node.js Ubuntu 18.04

I tried to install signal-master (https://www.npmjs.com/package/signal-master) on my Droplet. This node module has the task to build a signaling server for WebRTC on port 8888. The server is used by SimpleWebRTC (https://github.com/andyet/SimpleWebRTC) which needs a signaling server to establish a peer-to-peer connection.

I could successfully install and run the module on my one-click node.js Droplet:

signal master is running at: http://localhost:8888

When I open my WebRTC page, the connection can’t be established.
The url the script is looking for is:

https://signaling.comsimulator.com/socket.io/?EIO=3&transport=polling&t=1549976813646-5

But that page doesn’t even exist (404).

Do you have an idea to make it work properly?
Thank you very much in advance
Léonce

Be the first one to answer this question.