Skip to content

Instantly share code, notes, and snippets.

@bengolder
Last active August 29, 2015 14:06
Show Gist options
  • Save bengolder/b67fd91ffcb9d7eb4ab8 to your computer and use it in GitHub Desktop.
Save bengolder/b67fd91ffcb9d7eb4ab8 to your computer and use it in GitHub Desktop.
viewing a computer's localhost from an iPhone

References:

  1. Find the ip address of the computer running the dev server. You can use ipconfig on windows or go to Preferences > Network on a Mac.

  2. start the Django server on the computer's ip (the ip below is just an example):

     python manage.py runserver 11.111.1.111:8000
    
  3. Open that address on the browser of your phone

     http://11.111.1.111:8000
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment