Thanks Adam. Aside from adding the 0.0.0.0:8000, one must also modify the AMLOWED_HOSTS parameter in settings.py to

ALLOWED_HOSTS=["*"]


“Waste no more time arguing what a good man should be, just be one.” -- Marcus Aurelius

Sent: May 16, 2019 14:37
Subject: [Arches] Re: Where is django configuration file my_project.settings

Hi Colin, try

python manage.py runserver 0.0.0.0:8000

(You can shorted 0.0.0.0 to just 0 in my experience.) You should then be able to access through a browser at <your domain or ip>:8000, as long as port 8000 is open.

The message you see about settings is referring to my_project/settings.py.my_project.settings refers to that file as an imported python module, not as a "file" per se. In other words, it sounds like the dev server is working properly.

Adam

On Friday, May 10, 2019 at 8:47:34 AM UTC-5, Colin Wu wrote:
Hi all,

I am running Arches on a Ubuntu server (so no GUI, and therefore no http://127.0.0.1:8000 ). How would I tell the dev server to allow connections from external hosts? Running "python manage.py runserver" displays a message saying "Django version 1.11.15, using settings from 'my_project.settings'", but I can not find the file my_project.settings anywhere on my system.

Thanks.

--
-- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visithttps://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/1abeb35a-e0d1-4b50-8e35-560583d6dea2%40googlegroups.com.

--
-- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/j4s682ahneisqi2rmnuvvm4f.1558032982071%40colinwu.ca.

Reply via email to