mardi 2 juin 2015

Running django project using mod_wsgi on aws

I have deployed a django project on aws. i am using apache2 server and mod_wsgi. After executing the command

$ python manage.py runmodwsgi --host xxx.xxx.xxx.xxx

it gives an output

Server URL         : http://ift.tt/1ALoimK
Server Root        : /tmp/mod_wsgi-xxx.xxx.xxx.xxx:8000:1000
Server Conf        : /tmp/mod_wsgi-xxx.xxx.xxx.xxx:8000:1000/httpd.conf
Error Log File     : /tmp/mod_wsgi-xxx.xxx.xxx.xxx:8000:1000/error_log (warn)
Request Capacity   : 5 (1 process * 5 threads)
Request Timeout    : 60 (seconds)
Queue Backlog      : 100 (connections)
Queue Timeout      : 45 (seconds)
Server Capacity    : 20 (event/worker), 20 (prefork)
Server Backlog     : 500 (connections)
Locale Setting     : en_US.UTF-8 

But when i try to access http://ift.tt/1ALoimK from browser, i get ERR_CONNECTION_TIMED_OUT error. Can somebody what i may be doing wrong.

Note : Access log is empty




Aucun commentaire:

Enregistrer un commentaire