inconshreveable / ngrok

Unified ingress for developers
https://ngrok.com
Other
24.17k stars 4.26k forks source link

creating an http proxy using ngrok #880

Closed LazarenkoA closed 2 years ago

LazarenkoA commented 2 years ago

I have written an http proxy for telegram, when the proxy is running on my local computer, telegram works ok with it. I need the proxy to be able to establish a connection with outside, for it I tried to use ngrok. I execute the ngrok command (ngrok http 8888), get the url, click on it in the browser (for the test), the request reaches my application (it can be seen in the logs), when I try to set the same url in the telegram settings as an http proxy, the connection does not reach my application. Please, advise me how to solve my problem.

LazarenkoA commented 2 years ago

I have done it using tcp ngrok tcp 8888