Discuss Scratch

Sid72020123
Scratcher
500+ posts

How to make a proxy in Python?

I tried to make a simple HTTPS proxy in Python. It works locally but I want to host it somewhere so that I could use it. Is there any online IDE to do this work? Also, I would like to get a simple proxy code made in Python.
ZZC12345
Scratcher
500+ posts

How to make a proxy in Python?

Have you tried Replit (I haven't but I hear it should work)?
Sid72020123
Scratcher
500+ posts

How to make a proxy in Python?

ZZC12345 wrote:

Have you tried Replit (I haven't but I hear it should work)?
Yes. I tried it with Replit, Heroku and Railway.app
nampinanathali
Scratcher
1000+ posts

How to make a proxy in Python?

Sid72020123 wrote:

I tried to make a simple HTTPS proxy in Python. It works locally but I want to host it somewhere so that I could use it. Is there any online IDE to do this work? Also, I would like to get a simple proxy code made in Python.
Maybe use python anywhere
Sid72020123
Scratcher
500+ posts

How to make a proxy in Python?

nampinanathali wrote:

Sid72020123 wrote:

I tried to make a simple HTTPS proxy in Python. It works locally but I want to host it somewhere so that I could use it. Is there any online IDE to do this work? Also, I would like to get a simple proxy code made in Python.
Maybe use python anywhere
No. It won't work.
ZZC12345
Scratcher
500+ posts

How to make a proxy in Python?

Hmm, so it works on your local machine but not on a host's remote machine? What error (if any) does it give?
Sid72020123
Scratcher
500+ posts

How to make a proxy in Python?

ZZC12345 wrote:

Hmm, so it works on your local machine but not on a host's remote machine? What error (if any) does it give?
The code also works on Heroku but it doesn't support proxies. Also, is there a simple proxy library in Python other than proxy.py?
ZZC12345
Scratcher
500+ posts

How to make a proxy in Python?

Sid72020123 wrote:

ZZC12345 wrote:

Hmm, so it works on your local machine but not on a host's remote machine? What error (if any) does it give?
The code also works on Heroku but it doesn't support proxies. Also, is there a simple proxy library in Python other than proxy.py?
What server are you using? Django or http.server?
Sid72020123
Scratcher
500+ posts

How to make a proxy in Python?

ZZC12345 wrote:

Sid72020123 wrote:

ZZC12345 wrote:

Hmm, so it works on your local machine but not on a host's remote machine? What error (if any) does it give?
The code also works on Heroku but it doesn't support proxies. Also, is there a simple proxy library in Python other than proxy.py?
What server are you using? Django or http.server?
http.server

Powered by DjangoBB