Home Game Development Colyseus cannot connect with the room from cellular machine – Extensions

Colyseus cannot connect with the room from cellular machine – Extensions

0
Colyseus cannot connect with the room from cellular machine – Extensions

[ad_1]

Hi all, I run server with Colyseus, and it really works nice on my desktop, however when I attempt to play the sport on a cellular machine I’m unable to connect with the room. Just unusual error I see is that this:

my code is:

        attempt {
            this.room = await this.consumer.joinOrCreate(
                "main_menu"
            );

            const { room } = this;

            room.onMessage("error", perform () {
                console.log(arguments);
            });

            node.on(RegistrationEvent.kind, this.onRegistration, this);
            node.on(LoginEvent.kind, this.onLogin, this);

            room.onMessage("login_sucess", this.onLoginSucess);
        } catch (error) {
            console.error(error);
        }

What might be the case of this? thanks.

So I discovered the answer.
You ought to put Pv4 Address within the serverURL area.
I can discover it home windows by command line: cmd.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here