Hi,

Your phone must be connected to the same network that your workstation is
connected. So, the django app must running listening on local IP address
like 192.168.1.2:8000 and from phone you can access the application using
this IP.

Hope this helps,



On Mon, Dec 9, 2013 at 1:44 PM, Muhammad Ali <[email protected]> wrote:

> Hello,
>
> I'm developing a Django-powered blog, with two versions: a desktop version
> and a mobile I optimized version for when it is accessed through a mobile
> device.
>
> Now, I'm trying to test it on my Samsung phone to see how it would look
> and act like when someone uses it through a mobile phone's browser [iPhone,
> Android, etc.]
>
> Instructions I found online (such as this one: ) say that I should plug
> the phone to the computer through a USB and run: manage.py runser
> 0.0.0.0:8000 and visit this IP address via my phone's browser. But it
> doesn't work and instead returns an error:
>
> "Oops! Google Chrome could not connect to 0.0.0.0:8000"
>
> What am I missing in the setup? What are other, if any, alternative ways
> of testing my Django app on my phone during development?
>
> Thank you for your time and help.
>
> Sincerely,
> Muhammad
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/47bac303-2b53-4f9d-bd93-acbc1d4f1b09%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Juan

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJK1Jg3bprjLA304UwGMRsdS-TfXHgQ2XRgtYkiGj0xb1Z6Cww%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to