2 u014759763 u014759763 于 2016.03.02 17:26 提问

wampServer_2.5中的localhost访问超时?

启动服务器成功后,可以进行localhost访问,以及phpmyadmin也可以使用;但是不知道为什么时间长了,突然就无法访问了,在火狐浏览器中显示“localhost访问超时”,请求解决方案,急求,谢谢。
图片说明

3个回答

caozhy
caozhy   Ds   Rxr 2016.03.02 19:25

刷新下页面看下,超时有两个原因,一个是根本没有连上服务器,一个是服务器执行时间真的超长了。
先检查第一种可能,比如你的web服务器是否在运行,防火墙的限制等等。

u014759763
u014759763   2016.03.06 11:17

今天再次出现访问超时,求大神帮忙解决访问超时问题,谢谢。
最新日志内容如下:
127.0.0.1 - - [06/Mar/2016:10:26:43 +0800] "GET / HTTP/1.1" 200 5138
127.0.0.1 - - [06/Mar/2016:10:26:46 +0800] "GET /index.php?img=gifLogo HTTP/1.1" 200 4549
127.0.0.1 - - [06/Mar/2016:10:26:46 +0800] "GET /index.php?img=pngPlugin HTTP/1.1" 200 548
127.0.0.1 - - [06/Mar/2016:10:26:47 +0800] "GET /index.php?img=pngWrench HTTP/1.1" 200 741
127.0.0.1 - - [06/Mar/2016:10:26:47 +0800] "GET /index.php?img=pngFolder HTTP/1.1" 200 850
127.0.0.1 - - [06/Mar/2016:10:26:47 +0800] "GET /index.php?img=pngFolderGo HTTP/1.1" 200 694
127.0.0.1 - - [06/Mar/2016:10:26:47 +0800] "GET /index.php?img=favicon HTTP/1.1" 200 1429
127.0.0.1 - - [06/Mar/2016:10:26:47 +0800] "GET /index.php?img=favicon HTTP/1.1" 200 1429
127.0.0.1 - - [06/Mar/2016:10:26:58 +0800] "GET /Knowledge/ HTTP/1.1" 200 23070
127.0.0.1 - - [06/Mar/2016:10:27:03 +0800] "GET /Knowledge/Login/index HTTP/1.1" 200 28591
127.0.0.1 - - [06/Mar/2016:10:27:05 +0800] "GET /Knowledge/Public/Css/Login/login.css HTTP/1.1" 304 -
127.0.0.1 - - [06/Mar/2016:10:27:03 +0800] "GET /Knowledge/Code/code HTTP/1.1" 200 467
127.0.0.1 - - [06/Mar/2016:10:27:05 +0800] "GET /Knowledge/Public/Js/Login/validate.js HTTP/1.1" 304 -
127.0.0.1 - - [06/Mar/2016:10:31:31 +0800] "GET / HTTP/1.1" 200 5138
127.0.0.1 - - [06/Mar/2016:10:31:34 +0800] "GET /index.php?img=gifLogo HTTP/1.1" 200 4549
127.0.0.1 - - [06/Mar/2016:10:31:34 +0800] "GET /index.php?img=pngPlugin HTTP/1.1" 200 548
127.0.0.1 - - [06/Mar/2016:10:31:34 +0800] "GET /index.php?img=pngWrench HTTP/1.1" 200 741
127.0.0.1 - - [06/Mar/2016:10:31:34 +0800] "GET /index.php?img=pngFolder HTTP/1.1" 200 850
127.0.0.1 - - [06/Mar/2016:10:31:34 +0800] "GET /index.php?img=pngFolderGo HTTP/1.1" 200 694
127.0.0.1 - - [06/Mar/2016:10:31:34 +0800] "GET /index.php?img=favicon HTTP/1.1" 200 1429
127.0.0.1 - - [06/Mar/2016:10:31:34 +0800] "GET /index.php?img=favicon HTTP/1.1" 200 1429
127.0.0.1 - - [06/Mar/2016:10:31:37 +0800] "GET /Knowledge/ HTTP/1.1" 200 23070
127.0.0.1 - - [06/Mar/2016:10:31:41 +0800] "GET /Knowledge/Login/index HTTP/1.1" 200 28591
127.0.0.1 - - [06/Mar/2016:10:31:41 +0800] "GET /Knowledge/Code/code HTTP/1.1" 200 427
127.0.0.1 - - [06/Mar/2016:10:32:16 +0800] "GET /Knowledge/Public/Css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [06/Mar/2016:10:32:15 +0800] "GET /Knowledge/Login/index HTTP/1.1" 200 8072
127.0.0.1 - - [06/Mar/2016:10:32:16 +0800] "GET /Knowledge/Public/Css/Login/login.css HTTP/1.1" 304 -
127.0.0.1 - - [06/Mar/2016:10:32:16 +0800] "GET /Knowledge/Public/Js/jquery.min.js HTTP/1.1" 304 -
127.0.0.1 - - [06/Mar/2016:10:32:16 +0800] "GET /Knowledge/Public/Js/Login/validate.js HTTP/1.1" 304 -
127.0.0.1 - - [06/Mar/2016:10:32:16 +0800] "GET /Knowledge/Public/Js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [06/Mar/2016:10:32:16 +0800] "GET /Knowledge/Code/code HTTP/1.1" 200 390
127.0.0.1 - - [06/Mar/2016:10:32:23 +0800] "GET /Knowledge/Login/index HTTP/1.1" 200 6101
127.0.0.1 - - [06/Mar/2016:10:32:23 +0800] "GET /Knowledge/Code/code HTTP/1.1" 200 465

oyljerry
oyljerry   Ds   Rxr 2016.03.02 19:23

查看服务器端程序的日志 看超时是怎么来的

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!