Web Socket example

Casper Leerink's icon

Hi Everyone!

I am starting to work on a project that needs to run a web server from my macbook and make it available online. It is for an online interactive performance. (crazy times.. :P)
Basically what I want to find out it how to make this example from the n4m examples https://github.com/Cycling74/n4m-examples/tree/master/sockets
available not only as a localhost server, but as a webpage that everyone can view.
I tried using http://localhost.run/ but it seems like the Web Socket functionality stops working when I open the page created with localhost.run on a different computer or browser.

Any tip or general direction I should look into would be appreciated!

Thanks, Casper

yaniki's icon

I have implemented several projects with a similar communication model (data exchange between a website loaded on recipients' devices and a MaxMSP patch) via PubNub (a brokering data exchange service - but there are certainly more such service providers).