Monday, 8 May 2017

how to use cors-anywhere to proxy a remote side ?

I have installed cors-anywhere and started the nodejs server listening it on 8080. When accessing localhost:8080 the instruction page shown. Everything is working till this step.

But, my local app is running on http protocal while the remote site is https, I tried https://proxy/websiteB but got ERR_CONNECTION_CLOSED. Also tried http://proxy/websiteB but got 404 returned, same error for http://proxy/https://websiteB.

I am sure that the https://websiteB is reachable because after I removed the proxy from the url it returns 302 to my local app.

Can anyone give some advice ?



via jm li

No comments:

Post a Comment