Can't access https after changed http port to 8000

28 views
Skip to first unread message

Jirawat Kusolpredee

unread,
Aug 11, 2019, 1:34:32 PM8/11/19
to web2py-users
I'm running a web server and do a port forward from router to server.
My ISP block doing a server on port 80 so I have to change apache2 configuration
to port 8000. After doing that I can access http or https depend on which one
I access first. If I access https the http page will have and excpetion.

Please see my server detail in an attachment.

Here is what I did on apache2 configuration.

in port.conf listen to port 8000
in sites-available/000-default.conf change virtual host to :8000
in sites-available/default.conf change virtual host to :8000

Here is exception on http when I access https first.
How to solve this issue ? 

I install the web2py using this script


change port from 80 to 8000
screencapture-192-168-1-36-admin-default-ticket-cnximm-192-168-1-52-2019-08-08-14-08-31-50420dce-fab9-4ba5-b430-115ceebcbc33-2019-08-08-14_11_27.png

Jirawat Kusolpredee

unread,
Sep 13, 2019, 12:25:49 AM9/13/19
to web2py-users
If anyone facing the same problem here what I did seem that mod_wsgi was obsoleted so I solved the problem by migrated to nginx with uwsgi. 
Reply all
Reply to author
Forward
0 new messages