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
385 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,530 points

Related Questions In AWS

0 votes
1 answer
+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,170 points
290 views
+3 votes
3 answers
0 votes
1 answer
+1 vote
10 answers
+2 votes
3 answers