Skip to content

Instantly share code, notes, and snippets.

@zulhfreelancer
Last active August 29, 2015 14:18
Show Gist options
  • Save zulhfreelancer/3cd849df3c2167823f0d to your computer and use it in GitHub Desktop.
Save zulhfreelancer/3cd849df3c2167823f0d to your computer and use it in GitHub Desktop.
Connect to localhost from other devices (on same network) using Anvil for Mac (http://anvilformac.com), Pow & Xip.io
1. Install Anvil for Mac - http://anvilformac.com/
2. Inside Anvil, install Pow (this will launch Terminal)
3. Go your machine System Preference > Network & copy your machine IP address (eg: 192.168.X.XXX)
4. Add a project using Anvil. Project URL will be something like this: project.dev
5. To access the project from other devices, type this URL format: [PROJECT].[IP_ADDRESS].xip.io
Example:
Anvil URL: helloworld.dev (only works in your local development machine)
Localhost URL: helloworld.192.168.X.XXX.xip.io (works on all devices on same network)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment