When trying to call a page through a corporate proxy:
echo file_get_contents ("https://google.com");
There is no A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
If I try through curl, then the error
Failed to connect to https://google.com: time out
But if I open directly through the browser, then everything works. How to fix it?