Search Unity

Tip: Mobile QR Code URL not working on business networks?

Discussion in 'Project Tiny' started by TheRoccoB, Dec 18, 2018.

  1. TheRoccoB

    TheRoccoB

    Joined:
    Jun 29, 2017
    Posts:
    54
    If your QR Code URL isn't working on mobile here's a tip to expose your game to the internet.

    1. Install NodeJS if you don't already have it. Any version should do
    2. Terminal: npm install -g ngrok
    3. Terminal: ngrok http 19050
    This prints out some URLS:
    Forwarding https://52538faa.ngrok.io -> localhost:19050

    Simply visit the ngrok.io url in your mobile browser and requests will be forwarded to localhost:19050!

    Working great for me here at my co-working space. Also cool if you want somebody to test outside of your local network.

    A few of my web security friends raised an eyebrow at this tool, so use at your own risk :).
     
    Last edited: Dec 18, 2018
    FardinHaque and vincismurf like this.
unityunity