Skip to content

[Bug]: Getting ERR_EMPTY_RESPONSE trying to run ngrok server on Termux #7485

Closed Locked Answered by ghost
artisticfox8 asked this question in Q&A
Discussion options

You must be logged in to vote

Switch to http mode

ssh -R 0:localhost:8000 tunnel.us.ngrok.com http 8000

Try to use curl instead, especially if server returns a plain json output:

curl http://ngrokurl:12345

Just have tried it with python -m http.server 8000 - it worked in both plain tcp and http forwarding. So issue is not with Ngrok, instructions provided on Wiki or Termux itself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@artisticfox8
Comment options

Answer selected by artisticfox8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #7483 on September 07, 2021 17:17.