Best Alternative to Ngrok that works on android device too?

http://localhost.run/ works fine with android devices. Visit that website for a quickstart guide. At the first run, you might get an error saying permission denied (public key). Here is a quick fix for that: (Run these commands on termux on your android device)

  1. cd ~/.ssh
  2. ssh-keygen If it prompts for something, keep pressing enter every time.
  3. cat id_rsa.pub >> authorized_keys 
  4. chmod 640 authorized_keys

Localhost.run is a hassle-free alternative to ngrok. Ngrok might keep "reconnecting" on devices connected to wifi, this alternative works quite fine. 

Post a Comment

0 Comments