Host not allowed

0 votes

DisallowedHost at /

Invalid HTTP_HOST header: '13.127.191.88:8000'. You may need to add u'13.127.191.88' to ALLOWED_HOSTS.

Aug 3, 2018 in AWS by bug_seeker
• 15,390 points
235 views

1 answer to this question.

0 votes

Go to your project directory

cd project

cd project

ALLOWED_HOSTS = []
Add the IP address here

ALLOWED_HOSTS = ['13.127.191.88']

Save it and then run the server
Then again open chrome or browser

13.127.191.88:8000

It will work.

answered Aug 9, 2018 by Priyaj
• 57,450 points

Related Questions In AWS

+3 votes
4 answers

How to host a website on AWS?

Certainly, it can be used to do ...READ MORE

answered Mar 29, 2018 in AWS by brat_1
• 7,140 points
81 views
+3 votes
3 answers
0 votes
1 answer
0 votes
1 answer

if instance is a part of some AutoScaling Group in AWS or not ?

You can run this command below on ...READ MORE

answered Jun 1, 2018 in AWS by Cloud gunner
• 4,620 points
82 views
+1 vote
10 answers
+2 votes
3 answers