Getting started with AirConsol...
Testing your game
8 min
the simulator the airconsole simulator makes it easy for you to test your game it provides a way to load your game into the airconsole environment and shows you the screen and (on start) two controllers with that you can easily play your game in one browser window without having to use another device, such as a smartphone http //airconsole com/simulator/#debug\ your host or url open simulator demo https //www airconsole com/simulator/#debug\ https //game airconsole com/com airconsole testpong cdn airconsole com/2024 02 14 14 52 40/ how to access the simulator the website on which your game runs has to be accessible either by an ip or an url to load your game simply replace your ip or url with your games location if you use a local ip, use if you use a https reachable game, use for example the pong game's testing url is or if hosted on localhost join with your smartphone of course you can additionally join with your smartphone just connect your phone like you would normally connect to a game go to airconsole com and enter the code which appears in the developer consoles top right test https with ngrok once your game is uploaded to the airconsole store, it will be accessed via https this means all your external resources you load in your game have to be loaded through https too to simulate https locally we recommend to use ngrok or cloudflare tunnels go to ngrok website download and install ngrok ) (optional for unix based systems add to path sudo mv ngrok /usr/local/bin sudo mv ngrok /usr/local/bin ) execute ngrok in the terminal ngrok http 8000 ngrok http 8000 (assuming 8000 is the port your local webserver is running at) ngrok will display some urls now > copy the https url and try if it works in the simulator example your game url on localhost is running at 192 10 20 42 8080 192 10 20 42 8080 and the url from ngrok ( ngrok http 8080 ngrok http 8080 ) is https //cb501143 ngrok io https //cb501143 ngrok io to test your game in the simulator with https open troubleshooting using airconsole on a standard university/corporate network this issue can also be solved by using ngrok (see above) this way you can make your localhost public even if there is client isolation