@echo off
taskkill /f /im ngrok.exe
START /b cmd /c ngrok tcp 25565 -log=stdout
java -jar server.jar nogui
taskkill /f /im ngrok.exe
## Change "80" with your app port.
ngrok.exe http 80
./ngrok http 8080
ngrok config add-authtoken 2Cq7R4vPcyBIolS9wzuTvD3tNVV_4NbQhSFB3ybtkRKVPx2z8
# in ngrok.yml
authtoken: 2Cq7R4vPcyBIolS9wzuTvD3tNVV_4NbQhSFB3ybtkRKVPx2z8