How to run Django server on device IP address?

Viewed 669

When I run Django server using this,

python manage.py runserver ip-addr:8000

I can see the server is running in the terminal. But when I open the browser, the This site can't be reached message is displayed. There is no error I see in the terminal or the console.

Also, everything works perfectly fine with 127.0.0.1 and 0.0.0.0 but not with my ip-addr.

How can I run or know that if there is something wrong or any problem?

0 Answers
Related