Score:0

Apache not listening on Virtualhost port

sa flag

I am running Cento7 with Apache. I wrote a restAPI with flask and now trying to run it on port 8080. I dont have anything running on 8080 and the server restarts successfully. I have also verified that apache is the owner of the files. All the app stuff is in the /var/www/html/cisco directory. I have restarted the server several times and it does not start listening on 8080. It does however listen on 443 and 80 but for other things, so the server itself is working, just not my app. Below is my VirtualHost httpd.conf section. If I run my app it works with the lab version of flask on port 5000. I am now trying to put this into production. I have also installed wsgi and the module is enabled.

<VirtualHost *:8080>
     # Give an alias to to start your website url with
     WSGIScriptAlias / /var/www/html/cisco/cisco.wsgi
     <Directory /var/www/html/cisco/>
                # set permissions as per apache2.conf file
            Options FollowSymLinks
            AllowOverride None
            Require all granted
     </Directory>
     ErrorLog /var/log/httpd/error.log
     LogLevel warn
     CustomLog /var/log/httpd/access.log combined
</VirtualHost>
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.