The situation is simple: IIS + PHP computer behind proxy poxy_address : port Is it possible to config php (may be php.ini) so that it would use proxy for all requests. For instance when I call fsockopen(host,port)... php will redirect request to proxy_address : port instead of direct connection to host : port PS. using curls and proxy address in requests is impossible... Thanks in advance.