Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy on pythonanywhere.com,not working #83

Closed
makelove opened this issue Mar 27, 2018 · 2 comments
Closed

deploy on pythonanywhere.com,not working #83

makelove opened this issue Mar 27, 2018 · 2 comments

Comments

@makelove
Copy link

because pythonanywhere limit free accout visit Internet with a white list,need to set up proxy-server(proxy.server:3128) in django

and my site report Error:
HTTPConnectionPool(host='www.google.com', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<revproxy.connection.RevProxyHTTPConnection object at 0x7f909e457208>: Failed to establish a new connection: [Errno 101] Network is unreachable',))

But I use urllib3 in teminal to visit www.google.com ,it is working.

How to solve this problem ?
I already setup http_proxy in .bashrc:

export http_proxy='http://proxy.server:3128'
export https_proxy='http://proxy.server:3128'

@seocam
Copy link
Contributor

seocam commented Jun 6, 2020

I'm not sure what you are trying to accomplish here. This is meant to be a reverse proxy for HTTP. Are you trying to use it as a sock s proxy server?

@seocam
Copy link
Contributor

seocam commented Jun 6, 2020

I'll close for now and re-open if needed.

@seocam seocam closed this as completed Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants