Skip to content

Instantly share code, notes, and snippets.

@wyattdanger
Created February 13, 2012 23:09
Show Gist options
  • Save wyattdanger/1821337 to your computer and use it in GitHub Desktop.
Save wyattdanger/1821337 to your computer and use it in GitHub Desktop.

Open Terminal.app and type ifconfig and then hit return. You should see something like this. I've highlighted the IP

ifconfig

Then visit that IP in your web browser. You should see the same thing that you see when you visit localhost

If your phone and computer are on the same wifi network, you should now be able to access your localhost from your phone.

@trey
Copy link

trey commented Feb 14, 2012

I like your prompt.

@wyattdanger
Copy link
Author

@Blahed nope

@trey it's the "norm" theme in oh-my-zsh with the solarized palette for terminal

@trvsdnn
Copy link

trvsdnn commented Feb 16, 2012

@wyattdanger the gist id

@wyattdanger
Copy link
Author

@Blahed oh, ha! I seriously stared at the terminal output for like 5 minutes looking for 1337.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment