anywhere.py rocket admin on port 80 no ssl

42 views
Skip to first unread message

lucas

unread,
Apr 16, 2021, 8:06:41 AM4/16/21
to web2py-users
maybe a common question.  how do i allow access to the admin interface on regular port 80 and without ssl?  i have web2py running on a little local raspberry pi, behind firewalls, and i'm not concerned with security.

thank you in advance, lucas

Clemens

unread,
Apr 16, 2021, 2:22:22 PM4/16/21
to web2py-users
You have just to set the appadmin password manually as described here:
http://web2py.com/books/default/chapter/29/13/deployment-recipes?search=save_password#Setting-password

lucas

unread,
Apr 16, 2021, 2:45:42 PM4/16/21
to web2py-users
setting the password is not the problem.  if I try to come in under port 80, http://..., web2py throws "Admin is disabled because insecure channel".

jonatha...@whatho.net

unread,
Apr 17, 2021, 2:18:19 AM4/17/21
to web2py-users
I do it by ssh'ing to the machine where I want to access the interface. In my case from my local (Linux) machine I do
`ssh -L 80:127.0.0.1:80 us...@remote.machine.com`. This sets up a tunnel from the local m/c to the remote m/c.
Then I access my local machine in the browser by 127.0.0.1:80 and ssh transports the request over to port 80 on the remote machine. web2py just responds to a request on its port 80.

Google for ssh tunnel.

Reply all
Reply to author
Forward
0 new messages