nagalun / multiplayerpiano-server

Unofficial server for the http://multiplayerpiano.com client.
https://piano.ourworldofpixels.com
ISC License
12 stars 16 forks source link

MPP server not port forwarding on Microsoft Azure #36

Closed rlem0n closed 2 years ago

rlem0n commented 3 years ago

I am using a Azure account (student acc) just temp, while I try to fix linode) and after compilation, it says the server is up, like normal image but when I try to connect using

MPP.client.uri = "ws://20.85.232.79:1234";
MPP.client.ws.close();

and

MPP.client.uri = "wss://20.85.232.79:1234";
MPP.client.ws.close();

On MPPT, it won't connect.

It's probably an inbound/outbound rule, but I'm probably making a mistake or something?

btw here is how you add a rule. image

rlem0n commented 2 years ago

update 2, it says its open but still cant connect

nagalun commented 2 years ago

I mean, sorry for not replying, but I don't think this is a problem with this server in specific, exposing the port may not work for this or for any other service... You could try using another port on the mpp server like 8085, maybe 1234 is blocked on azure. But other than that I don't think I have anything to fix really.