Jump to content

can firewall block any php function?


abdfahim

Recommended Posts

I have hosted one of my website in my laptop (localhost) on test. The problem is, at my home, everything works fine, but when I connect my laptop to my office LAN and try to run that page, file_get_contents does not work, everything else works fine.

 

So, I am wondering whether any firewall or antivirus is preventing to open any remote site whenever I am inside my office LAN.

 

Can anyone suggest anything please? Or how to check what is the exact problem.

 

The error I am getting in my office is

Warning: file_get_contents(http://www.mywebsite.com/tf.txt) [function.file-get-contents]: failed to open stream: 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. in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\st_page.php on line 19

Link to comment
https://forums.phpfreaks.com/topic/204729-can-firewall-block-any-php-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.