I have an EC2 instance that wants to run a Django application. This instance of EC2 already has an Apache server on port 80. Now I want to host a Django project on port 9090. The instance has a static IP of 200.200.200.200.
ubuntu @ ip-10-242-229-213: ~ / flanders $ python manage.py runningerver 200.200.200.200:9090 Model checking ...
Found 0 errors of Django version 1.3.1, using settings. Development server "flanders.settings" runs on http://200.200.200.200:9090/ Exit the server using CONTROL-C. Error: This IP address could not be assigned. ubuntu @ IP-10-242-229-213: ~ / FLANDRIA $
It tells me Error: That IP address can't be assigned-to , so I'm switching to
ubuntu @ ip-10-242-229-213: ~ / flanders $ python manage.py runningerver 127.0.0.1:9090 Model checking ...
Found 0 errors of Django version 1.3.1, using settings. Development server "flanders.settings" runs on http://127.0.0.1:9090/ Close the server using CONTROL-C.
The application starts without problems, but when I try to access it http://200.200.200.200:9090/flandersapp/tags , I do not work. By the way, I enable port 9090 in the security settings.
django amazon-ec2 ip
Simon guo
source share