>
> Hello the flask vevelopmnet web server listens on http://superhost.gr:5000 
> and runs but in does not listen to http://superhost.gr:80 which is being 
> managed by Apache.
>
It seem like Apache is not aware of mod_wsgi application. Here:

 

[root@superhost ~]# yum list installed | grep python36
python36u.x86_64                  3.6.5-1.ius.centos7      @ius                 
python36u-devel.x86_64            3.6.5-1.ius.centos7      @ius                 
python36u-libs.x86_64             3.6.5-1.ius.centos7      @ius                 
python36u-mod_wsgi.x86_64         4.6.2-1.ius.centos7      @ius                 
python36u-pip.noarch              9.0.1-1.ius.centos7      @ius                 
python36u-setuptools.noarch       39.0.1-1.ius.centos7     @ius   


and


[root@superhost public_html]# mod_wsgi-express start-server webapp.py
[nikos@superhost public_html]$  mod_wsgi-express start-server webapp.py
Server URL         : http://localhost:8000/
Server Root        : /tmp/mod_wsgi-localhost:8000:1021
Server Conf        : /tmp/mod_wsgi-localhost:8000:1021/httpd.conf
Error Log File     : /tmp/mod_wsgi-localhost:8000:1021/error_log (warn)
Request Capacity   : 5 (1 process * 5 threads)
Request Timeout    : 60 (seconds)
Startup Timeout    : 15 (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
(98)Address already in use: AH00072: make_sock: could not bind to address 
[::]:8000
(98)Address already in use: AH00072: make_sock: could not bind to address 
0.0.0.0:8000
no listening sockets available, shutting down
AH00015: Unable to open logs
[nikos@superhost public_html]$ 


All i want to do is wehn my flask webapp.py run is intead of being run by the 
development server on port 5000 to be run by Aapche on port 80.

I dont know why epxress module mentiones port 8000 .....


-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to