

make sure that your local service is up and ready to receive HTTP requests.create an ngrok account to receive a token.download a single binary file for your system - ngrok.It’s insanely simple, but, at the same time, even its free version has a whole bunch of features. I came across it when I was messing with PayPal API. In such cases, what you need is a service that creates tunnels to localhost, and ngrok is one of the most popular ones. The same thing might happen when you work on your own project: you may need to be able to receive the requests when integrating external services into your code. The first thing that might occur to you is to try out a cheap hosting to deploy your app there, but it costs money and takes time. You will need to unzip it into a folder then use it from command line.There might be a situation during the development process when you need to show somebody what you’re doing and what you’ve already done. Note: Windows Ngrok is a command line tool. There are following versions available to download : Winodws, Mac OS X Linux Mac (32-bit) Windows (32-bit) Linux (ARM) Linux (32-bit) FreeBSD (64-Bit) FreeBSD (32-bit) Download a single binary with zero run-time dependencies. This post is going to explore some of tunneling services I am using. Tunneling services : either self hosting or cloud services such as: But in many cases, you wont be able to make that changes or you even do not have that options.Ģ. Change your router / firewall configuration to do port forwarding or NAT from public to your application. Most of the time, this is preferable for security.Ī couple of solutions you can choose now:ġ.

The router(s) or firewall (s) that stands between our workstation and the internet makes it harder to expose a local socket to the outside. Unfortunately, we work most of the time from private IP networks, be that at the workplace, at home or at the coffee shop. For many IT workers remotely involved with networking, it is quite common to need to expose your Intranet application to the outside world in a secured manner.
