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,510 points
1,746 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
• 58,020 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

EC2 could not resolve private DNS host name

Try and check private dns hostnames supported ...READ MORE

answered Feb 14, 2022 in AWS by Rahul
• 2,120 points
3,625 views
+3 votes
4 answers

How to host a website on AWS?

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

answered Mar 30, 2018 in AWS by brat_1
• 7,200 points
2,941 views
+3 votes
3 answers
+1 vote
10 answers
+2 votes
3 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP