B
B
Boldy2015-01-02 22:28:09
Django
Boldy, 2015-01-02 22:28:09

How to use phone to debug django?

There is a router and a mobile device connected to it and a laptop from which development is underway. How to go to a site that I go to from a laptop using localhost:8000?
UPD:
With neither external nor internal IP, nothing comes out.
UPD:
I managed to log in through the local IP when I ran manage.py runserver 0.0.0.0:8000. Thanks to the commenter on this question.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey Ozeransky, 2015-01-02
@KREGI

find out the IP of your django server (this is your laptop) and navigate to it from your mobile device.

O
OnYourLips, 2015-01-02
@OnYourLips

<sarcasm>Take this phone and call a freelancer who will debug this site.</sarcasm> You
can find out the IP with the ifconfig/ipconfig commands.

Y
yurtaev, 2015-01-02
@yurtaev

https://ngrok.com/ will help in more difficult situations

Z
zelsky, 2015-01-03
@zelsky

to find out the local api of the laptop and go to it in the browser from the phone,
it is important that both the phone and the laptop are connected to the same network (point). example
192.168.2.101:8000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question