yegor256/squid-proxy

Access Deployed Proxy server on Heroku

Closed this issue · 1 comments

I tried deploying a fork of this repo on Heroku: https://elements.heroku.com/buttons/bynaristar/heroku-squid-proxy

But not sure how to access it.

For example in my PC I'd access proxy via curl request:
curl -x http://jeffrey:swordfish@localhost:8081 -L http://google.com
This works fine.

But how can I do this after deploying to Heroku:
I tried **curl -x http://jeffrey:swordfish@squidi.herokuapp.com/:8081 -L http://google.com**
Throws invalid URL

Also tried using postman with username and password authentication in header for just http://squidi.herokuapp.com/ but still didn't work.

Any idea on how to access proxy deployed on Heroku?
Thanks.

@Kingzley I don't think that Heroku would allow you to use port 8081. Most probably you need to make sure your container responds to port 80.