Is your development server the same machine you are running your browser from?
If not you don't want to use localhost, you need to user the IP/domain name of the development server. What is the error you get in the browser? Dylan On Fri, Nov 24, 2017 at 2:47 AM, Harish Oraon <[email protected]> wrote: > This might be your settings, please confirm > > DEBUG=False > ALLOWED_HOST = [] > > Try these two > a) > DEBUG = True > ALLOWED_HOST = [] > b) > DEBUG = False > ALLOWED_HOST = ['localhost', '127.0.0.1',] > > On Friday, 24 November 2017 15:42:22 UTC+5:30, ngn zone wrote: >> >> Hello all, >> >> I have a very strange experience with my Development server. >> 1. I ran python manage.py makemigrations and it was successful >> >> 2. I ran python manage.py migrate every ran successful to my postgresql db >> >> 3. I ran python manage.py runserver everything successfu with following >> output attched to this post. >> >> 4. When I head over to my web browser and type localhost:8000 >> >> 5. The browser shows this site can't be access. >> >> 6. when I run other projects on the same computer it runs just fine but >> for the afore mentioned. >> I am running my project on virtualenv. >> >> 7. I am using linux mint 17 django 1.11.2 >> >> My Question is, what is wrong with my code that permits migrations and >> the development server to run without errors but on the browser I cannot >> access any url of my project? >> >> Desperately waiting for your help. >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/2bf18a17-5427-4b82-9c12-2ca86f9faf4c%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/2bf18a17-5427-4b82-9c12-2ca86f9faf4c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHtg44Acpa%2B%2BmXxST_9W1A8-RWY-sz5MaYaSQxxc4EN%3DB3-dHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

