Search code examples
ruby-on-railsvirtualhostsaucelabsrack-powxip.io

Accessing virtual hosts from other computers – xip.io alternative


Sometimes you need to access your (Pow) virtual hosts from another computer on your local network — for example, when testing your application on a mobile device or from a Windows or Linux VM.

So far I've been using pow and xip.io seems to be the de facto way to access virtual hosts from other computers.

Today I needed to test a hotfix on Internet Explorer, on a Windows machine, using saucelabs.com, and in this scenario xip.io doesn't work anymore.

The Pow User's Manual suggests showoff-io as an alternative – the easiest way to share localhost over the web – but it seems that this one has turned commercial, revamped as forwardhq.com.

Are there any free alternatives to xip.io that work with testing platforms like Sauce Labs?


Solution

  • ngrok.com is a great alternative too. Simple Go binary, and it proxies both HTTP and HTTPS.