ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

Ngrok 2.2.8 ARM doesn't work anymore on Linux armhf ( android device )

Open 0v3rfl00w opened this issue 8 years ago • 24 comments
trafficstars

Starting ngrok gives a warning and an error like this :

./ngrok WARN[08-13|11:05:39] failed to get home directory, using $HOME instead err="user: Current not implemented on linux/arm" $HOME=/data/data/com.termux/files/home NAME: ngrok - tunnel local ports to public URLs and inspect traffic

DESCRIPTION: ngrok exposes local networked services behinds NATs and firewalls to the public internet over a secure tunnel. Share local websites, build/test webhook consumers and self-host personal services. Detailed help for each command is available with 'ngrok help '. Open http://localhost:4040 for ngrok's web interface to inspect traffic.

EXAMPLES: ngrok http 80 # secure public URL for port 80 web server ngrok http -subdomain=baz 8080 # port 8080 available at baz.ngrok.io ngrok http foo.dev:80 # tunnel to host:port instead of localhost ngrok tcp 22 # tunnel arbitrary TCP traffic to port 22 ngrok tls -hostname=foo.com 443 # TLS traffic for foo.com to port 443 ngrok start foo bar baz # start tunnels from the configuration file

VERSION: 2.2.8

AUTHOR: inconshreveable - [email protected]

COMMANDS: authtoken save authtoken to configuration file credits prints author and licensing information http start an HTTP tunnel start start tunnels by name from the configuration file tcp start a TCP tunnel tls start a TLS tunnel update update ngrok to the latest version version print the version string help Shows a list of commands or help for one command

And when trying to connect i got this : screenshot_20170813-121135 What's the probleme here ? thanks For this beautiful software .

0v3rfl00w avatar Aug 13 '17 11:08 0v3rfl00w

Did you resolve this? I have the same problem...

brunoecq avatar Feb 21 '18 18:02 brunoecq

and me 🍰

mpwrx avatar Jun 05 '18 22:06 mpwrx

Jjk

khozinul26 avatar Jun 20 '18 01:06 khozinul26

What happens is ngrok tries to resolve a couple of addresses and connects to 127.0.0.1:53. This DNS server isn't listening if you use 3G/H+ (check with cmd "netstat -ant"). To enable the local DNS server and still use 3G/H+ turn on your hotspot.

Alternatively you could edit the /system/etc/hosts file if you have root and add the following lines so the DNS resolution isn't necessary (v 2.2.8) 216.58.223.206 dns.google.com 52.216.130.253 s3.amazonaws.com 52.15.79.231 tunnel.us.ngrok.com 54.173.32.212 update.equinox.io 127.0.0.1 localhost

Good luck

fortune-max avatar Jun 24 '18 13:06 fortune-max

Is there a way to resolve this issue without root? I checked whether $PREFIX/etc/hosts may work but it doesn't

ilanstar avatar Aug 06 '18 19:08 ilanstar

As I said above, simply turn on your mobile hotspot while using ngrok.

fortune-max avatar Aug 07 '18 18:08 fortune-max

That indeed works, but it prohibits me from using WiFi. Is there a solution that keeps both WiFi and manages to properly resolve the addresses?

On Tue, Aug 7, 2018 at 9:29 PM, lordfme [email protected] wrote:

As I said above, simply turn on your mobile hotspot while using ngrok.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inconshreveable/ngrok/issues/441#issuecomment-411155943, or mute the thread https://github.com/notifications/unsubscribe-auth/AnKYeGlzXkM1zRe1O7tUZVEVKBi76y3Cks5uOdyCgaJpZM4O1qOn .

ilanstar avatar Aug 07 '18 22:08 ilanstar

I am feeling this problem... my phone is not rooted...

oneo766 avatar Apr 07 '19 01:04 oneo766

First turn off your wifi connection (if you turn on). Then turn on mobile data and mobile hostpot and type ./ngrok http 80 Problem solved ;-)

ghost avatar Sep 04 '19 10:09 ghost

DarkIShadow using mobile data and hotspot in same time fixed my issue bro.. Thaaaaaankkkkkxxxx bro.💯💯💯

loveablefellow007 avatar Nov 10 '19 04:11 loveablefellow007

You're welcome bro.. 🤗

On Sun, 10 Nov 2019, 10:10 loveablefellow007, [email protected] wrote:

DarkIShadow using mobile data and hotspot in same time fixed my issue bro.. Thaaaaaankkkkkxxxx bro.💯💯💯

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/inconshreveable/ngrok/issues/441?email_source=notifications&email_token=AKY23BGTBEBN4X2VHFSUCC3QS6GCNA5CNFSM4DWWUOT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUVHWY#issuecomment-552162267, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKY23BBJSGBE3B26KRMGNN3QS6GCNANCNFSM4DWWUOTQ .

ghost avatar Nov 10 '19 05:11 ghost

Thanks done nice solution

SiddharthSingh0 avatar Nov 28 '19 17:11 SiddharthSingh0

I am facing this error ,even having strong inte IMG_20200430_195756 rnet and hotspot is on.. please help

Expert-Hacker avatar Apr 30 '20 14:04 Expert-Hacker

Does ngrok on android/termux not work on Wifi? My mobile data is limited and expensive

greatidea1 avatar May 09 '20 14:05 greatidea1

What happens is ngrok tries to resolve a couple of addresses and connects to 127.0.0.1:53. This DNS server isn't listening if you use 3G/H+ (check with cmd "netstat -ant"). To enable the local DNS server and still use 3G/H+ turn on your hotspot.

Alternatively you could edit the /system/etc/hosts file if you have root and add the following lines so the DNS resolution isn't necessary (v 2.2.8) ips...

This is still the way, but ips are outdated, here is the new: 8.8.4.4 dns.google.com 52.216.176.229 s3.amazonaws.com 18.189.209.170 tunnel.us.ngrok.com 52.6.123.150 update.equinox.io At the moment I can use ngrok in Termux on Android 7.1 without cellular network + hotspot. But using Wi-Fi only. Note: wait a little bit, it starts to work after 30s+ delay

coarsehorse avatar May 30 '20 03:05 coarsehorse

just use this file https://drive.google.com/file/d/15366TjwvIuD16oc9GoyEj61GOeDbym8o/view

saurabh6017 avatar Aug 02 '20 04:08 saurabh6017

First turn off your wifi connection (if you turn on). Then turn on mobile data and mobile hostpot and type ./ngrok http 80 Problem solved ;-)

BlackAlpha0 thanks bro You solved my problem I opened github acc to only say thanks to You...ThankTou♥️

prajwal-on-github avatar Aug 21 '20 04:08 prajwal-on-github

First turn off your wifi connection (if you turn on). Then turn on mobile data and mobile hostpot and type ./ngrok http 80 Problem solved ;-)

BlackAlpha0 thanks bro You solved my problem I opened github acc to only say thanks to You...ThankTou♥️ :3 💯

ghost avatar Aug 21 '20 05:08 ghost

@saurabh6017 ngrok fixed one doesn't work

dinukasal avatar Dec 06 '20 04:12 dinukasal

I am facing this error ,even having strong inte IMG_20200430_195756 rnet and hotspot is on.. please help

why dont u use old version of that

dedshit avatar May 27 '21 08:05 dedshit

Screenshot_20211109-181327 Can't start TCP server please help me please please

Itslokani avatar Nov 09 '21 12:11 Itslokani

Work fine, with mobile hotspot on

Allsafecybertech avatar Feb 23 '22 21:02 Allsafecybertech

Use PRoot

ThatMG393 avatar Jun 27 '23 10:06 ThatMG393

Great solution to use mobile data and hotspot. But It is not the good solution. Have any suggest to solve it? I have same issue on my device Samsung galaxy s10+.

sinhpn92 avatar Dec 22 '23 08:12 sinhpn92

Thank you for opening this issue! As of April 2016, the ngrok service has permanently moved to https://ngrok.com/. To join the community and file bug reports or feature enhancements for the ngrok agent, please go to https://github.com/ngrok/ngrok.

This repository is no longer actively maintained and will be archived soon to reduce confusion with the latest ngrok versions. We thank you for the continued support of ngrok and look forward to seeing you over at ngrok.com and the ngrok Community Repo.

russorat avatar May 09 '24 18:05 russorat