The remote server returned an error: (404) Not Found.怎么回事

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The remote server returned an error: (404) Not Found.怎么回事相关的知识,希望对你有一定的参考价值。

参考技术A 404(未找到)服务器找不到请求的网页。对于服务器上不存在的网页经常会返回此代码。
排查原因:1、检查文件(网页的命名时候正确)。
2、查看网页的路径是否正确。
希望对你有帮助。

mongodb: Remote server has closed the connection

 1 <?php
 2 function getMongoClient($seeds = "", $options = array(), $retry = 3) {
 3     try {
 4         return new MongoClient($seeds, $options);
 5     } catch(Exception $e) {
 6         /* Log the exception so we can look into why mongod failed later */
 7         logException($e);
 8     }
 9     if ($retry > 0) {
10         return getMongoClient($seeds, $options, --$retry);
11     }
12     throw new Exception("I‘ve tried several times getting MongoClient.. Is mongod really running?");
13 }
14  
15 try {
16     $mc = getMongoClient("localhost", array());
17 } catch(Exception $e) {
18     /* Can‘t connect to MongoDB! */
19     logException($e);
20     die("Can‘t do anything :(");
21 }

解决方法;失败重试

以上是关于The remote server returned an error: (404) Not Found.怎么回事的主要内容,如果未能解决你的问题,请参考以下文章

The remote server returned an error: (401) Unauthorized - 最妖root case,mark下

请问高手们the remote server returned an error:(400)bad request是啥意思啊?

mongodb: Remote server has closed the connection

WARNING! The remote SSH server rejected X11 forwarding

mina:UDP server 收不到数据 The virtual circuit was reset by the remote side ......

WARNING! The remote SSH server rejected X11 forwarding request.