How to set up a free broker server on heroku

I would like to have a free broker server for a small game, but I don’t want to host it on my own pc, mainly for security reasons.
Therefore, I have seen that in the wiki that it is possible to set up one on platforms like Heroku.

The problem is that I don’t know how to do it with peerjs and I can’t find any documentation or tutorial on it. I have seen a tutorial on youtube but the procedure to set up a server on these platforms is totally different

Unfortunately, while the Peer 2 Peer events in GDevelop use Peer JS which uses broker servers, broker servers and other platforms aren’t really relevant to GDevelop, so not many of us are going to be able to help you.

You’ll need to reach out to the heroku or PeerJS community for more assistance.

1 Like