简体   繁体   English

File_get_content错误

[英]File_get_content error

I have tried hosting it on a VPS/web Host and some VPS it works my script and some it gives this error: 我曾尝试将其托管在VPS / Web主机上,某些VPS可以在我的脚本中运行,而某些VPS会出现此错误:

Warning: file_get_contents(http://xip.xxxxx.org/xxxx/../aaaada23.php?user=rawr&host=127.0.0.1&port=3074&time=10&ip=127.0.0.1&power=1) [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. 警告:file_get_contents(http://xip.xxxxx.org/xxxx/../aaaada23.php?user=rawr&host=127.0.0.1&port=3074&time=10&ip=127.0.0.1&power=1)[function.file-get-内容]:打开流失败:连接尝试失败,因为一段时间后连接方未正确响应,或者连接建立失败,因为连接的主机未响应。 in C:\\xampp\\htdocs\\login\\boot.php on line 163 Script bad error 在C:\\ xampp \\ htdocs \\ login \\ boot.php的第163行脚本错误

Why do I get that error? 为什么我会收到这个错误? Could it be DNS? 可以是DNS吗?

it means that the domain you're trying to reach is down, unreachable. 这意味着您尝试访问的域已关闭,无法访问。

it could also mean that the networking/sockets are down on your machine. 这也可能意味着您的计算机上的网络/插槽已断开。

Probably winsock error: http://msdn.microsoft.com/en-us/library/aa924071.aspx 可能是Winsock错误: http : //msdn.microsoft.com/zh-cn/library/aa924071.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM