Local development made easy

By Robbie | June 2, 2020


This tutorial will show you how to use expose.sh to give you a public HTTPs URL you can use to access local instances including docker containers, VMs and web servers

Download expose.sh for your system

Go to Expose.sh and copy/paste the installation code shown into a terminal

Expose your local site to the web

Find out what port your local site is using. Once you know what that is, run expose <port>. Expose.sh will generate a random public expose.sh URL. You’ll see output like

https://s3rh.expose.sh is forwarding to localhost:80
http://s3rh.expose.sh is forwarding to localhost:80

The first URL is for HTTPs and the second is regular HTTP. We recommend using the first one wherever possible for security reasons.

Access your local service with the new public URL

Now type the URL you were given into your browser. You’ll now see your local site. You can even share it with co-workers and clients, it will work from any device that has a working internet connection.


As you can see, using expose.sh can make your life a whole lot easier, so you can focus on building your app instead of networking!

Happy coding!