python - Django site-external access -


A little bit of the initial question. Iv just started learning Django and can create very basic content. Now when I want to use my website on my computer I just type into the local URL and I can use the site, other links, etc.

If I want to show it to someone else then how can I do this? To be able to type just in the local URL, what do they have to do to access it? Besides, if someone asks me what does it mean to create an API? I am beginning with Web Technologies so that any help

thanks

From:

Note that the default IP address, 127.0.0.1, is not available from other machines on your network. To make your development server visible to other machines on the network, use your own IP address (such as 19 2.168.2.1) or 0.0.0.0 or :: (with IPv6 enabled).

  Python manage.py 0.0.0.0:port  

and other machines on the network

  http : // your_machine_ip: port  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -