JFlame Posted December 8, 2010 Share Posted December 8, 2010 I'm trying to make calls from my local installation of PHP5/Apache 2.2. When I try and make a call to an HTTP web service from PHP the call fails with the following message: "An established connection was aborted by the software in your host machine. " I've uploaded the code to my host's server and it successfully makes the HTTP call and returns the response. This must be some setting in Apache that I don't have enabled and it is blocking outbound requests from PHP. I've searched around but I'm not finding the answer. Can anybody help? Link to comment https://forums.phpfreaks.com/topic/221052-how-do-i-enable-apache-to-allow-send-of-http-requests/ Share on other sites More sharing options...
JFlame Posted December 8, 2010 Author Share Posted December 8, 2010 The problem is my anti-virus software. It locks down the outbound traffic. I pointed my URL to a locally served address and it works. I'll leave this post here in case anybody else hits this. Link to comment https://forums.phpfreaks.com/topic/221052-how-do-i-enable-apache-to-allow-send-of-http-requests/#findComment-1144608 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.