F
F
Firsak2018-06-15 11:26:47
Django
Firsak, 2018-06-15 11:26:47

Setting up ubuntu 16.04 lts for Django. What do you need to make the site available not only on the local network?

Hello.
Wrote a specific Django project.
I run the command python3 manage.py runserver 0.0.0.0:8000.
Opened ports in the router (mi wifi):
5b23771f3ff10204401229.png
Made the following port settings in ufw:
5b2377a74dbc2936252520.png
Everything works on the local network, and when I try to access via ip:port from another global network device, I get timeout.
What didn't I do? Or maybe it's because my ubuntu is not ubuntu server? Or because of the router?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2018-06-15
@Firsak

Most likely, the fact is that you are sitting behind a NAT provider. The easiest way to show a site to clients is to use ngrok .

A
Alexander, 2018-06-15
@kentuck1213

https://www.digitalocean.com/community/tutorials/h...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question