How to run Django on Unix server (MobaXterm)?
1
vote
0
answers
292
views
While server (127.0.0.1) works just fine on PC using Pycharm which uses the Django 'GUI' framework, I've tried to execute the command on unix server (MobaXterm) but it just says that 10.1...1..69 (my own PC IP address) refused to connect.
I've changed the ALLOWED_HOSTS = ['*']. But still, it doesn't work.
By running [file leading to python directory]/python manage.py runserver 0.0.0.0:8080, there is a starting development server at http://0.0.0.0:8080/ .
However, when I tried to open this in Chrome (http://10.1...1..69:8080/) , it just says it refused to connect.
Can I check if I did everything correctly? Are there any additional steps that I need to make amendments to in order to run Django on Unix server (MobaXterm)?
Asked by reallyneedhelp
(11 rep)
Jul 17, 2019, 07:10 AM