Home > other >  Unet create multiplayer but not on phone
Unet create multiplayer but not on phone

Time:09-30

I use unity with UNET, wrote a little game, released Linux, Windows and android, android game when the computer as a server for the client or server computer for android do client, even on both sides, is a hot spot in computer phones connect at that time, this is how to return a responsibility, how to solve, and bosses solutions,
And application of double the phone on the two games also,
But how can between computers, as long as the server's IP Settings on the line

CodePudding user response:

I because of this problem, how can anyone know that connection between android?

CodePudding user response:

Because the system itself has a firewall, by default, the default do not allow the external request into the system, only open to the outside local access, first to shut down the system firewall and try again!

CodePudding user response:

refer to the second floor qq_38226559 response:
I because of this problem, how can anyone know let the connection between the android?

I done later, but after more than a year now I forget, the impression was wrong, as long as or IP problem, the network I use NAT, so in the public network address, said the firewall downstairs, there may be some time may also be affected, I'm not sure you can have a try,

CodePudding user response:

The building Lord, unet more than can be used in the development of Internet, the networking, not the kind of local area network (LAN)

CodePudding user response:

The
reference 5 floor Nirvana - response:
the building Lord, unet more than can be used in the development of Internet, the networking, is not the kind of
local area network (LAN)

B: yes, you can

CodePudding user response:

IP does not need wifi IP

CodePudding user response:

With LAN test first, the use of socket tool for testing,

CodePudding user response:

1, the default is localhost on the computer Internet is no problem;
2, mobile phones connected to the input of the primary server IP or IP phone side, the other input connection again;
  • Related