You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using django-sslserver for development a client that connects to external API and authorized via OAuth2. In my setup I have some domain in /etc/hosts pointing to my local host to trick the browser and whole OAuth2 flow.
I run sslserver as follows: sudo python manage.py runsslserver mydomain.com:80. I need it to listen on 80 port, that's why I use sudo.
The problem is that I cannot remove :80 away from the host name. This :80 breaks some things in Django app, and requires to setup OAuth2 callback to additional URL (mydomain.com:80 instead of simply mydomain.com).
So, I think it should work by simply using the domain name, without explicitly declaring the port. But it doesn't: sslserver doesn't accept connection and the browser (neither Chrome, nor Firefox) are unable to open connection to my debugging server.
The text was updated successfully, but these errors were encountered:
I'm using
django-sslserver
for development a client that connects to external API and authorized via OAuth2. In my setup I have some domain in/etc/hosts
pointing to my local host to trick the browser and whole OAuth2 flow.I run sslserver as follows:
sudo python manage.py runsslserver mydomain.com:80
. I need it to listen on 80 port, that's why I usesudo
.The problem is that I cannot remove
:80
away from the host name. This:80
breaks some things in Django app, and requires to setup OAuth2 callback to additional URL (mydomain.com:80
instead of simplymydomain.com
).So, I think it should work by simply using the domain name, without explicitly declaring the port. But it doesn't:
sslserver
doesn't accept connection and the browser (neither Chrome, nor Firefox) are unable to open connection to my debugging server.The text was updated successfully, but these errors were encountered: