Overv / WebCraft

Minecraft clone written in Javascript.
zlib License
386 stars 179 forks source link

How to make multiplayer online #21

Closed ficopang closed 6 years ago

ficopang commented 6 years ago

I want to make multiplayer online in heroku node js. I think the problem is the server.js not include listen ip.... I tried a lot of tutorial on youtube but it cant, anyone can help me?

Overv commented 6 years ago

The server.js listens on port 3000. Make sure to either change that to port 80 or use a reverse proxy.

See: https://github.com/Overv/WebCraft/blob/master/js/network.js#L268