Search Unity

Android nat error and server error with mobile network

Discussion in 'Multiplayer' started by Parkdo, Oct 30, 2014.

  1. Parkdo

    Parkdo

    Joined:
    Mar 26, 2014
    Posts:
    2
    First of all, I can't use Photon because I do not have Uninty Android Pro licence.

    Hello I wanna connect android with mobile network and my pc with router.

    here are my cases.
    1. in same router, my pc and other pc can play together.
    2. my pc and other pc in other router can play together.
    3. in same router, my pc and my android can play together.
    4. my pc and my android with mobile network cannot connect.


    I put MasterServer and Facilitator on AWS.
    and on Unity,
    if hostlist's length is zero, do InitializeServer(2,25000,!Network.HavePublicNetwork());
    else Connect the exist Host.

    If android is server, pc(unity) says 172.xxx.xxx.xxx:xxxxx(mobile network's ip and port. not static) Can't be connected.
    If pc is server and android try to connect that, pc says retrieving nat failed.

    Wanna clear this problem..!
    sorry for my bad english.. qq
     
  2. ThePhotons

    ThePhotons

    Joined:
    Aug 30, 2012
    Posts:
    8
  3. Parkdo

    Parkdo

    Joined:
    Mar 26, 2014
    Posts:
    2