apache安装好但是localhost打不开,127.0.0.1也打不开
其中端口号没有冲突是80
协议 本地地址 外部地址 状态
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49157 0.0.0.0:0 LISTENING
TCP 111.22.179.115:139 0.0.0.0:0 LISTENING
TCP 111.22.179.115:50093 101.199.97.102:80 ESTABLISHE
TCP 111.22.179.115:52609 114.112.73.200:80 LAST_ACK
TCP 111.22.179.115:52701 117.79.93.218:80 ESTABLISHE
TCP 111.22.179.115:52709 117.79.93.218:80 ESTABLISHE
TCP 111.22.179.115:52726 117.79.93.209:80 LAST_ACK
TCP 111.22.179.115:52733 117.79.93.218:80 ESTABLISHE
TCP 111.22.179.115:52735 117.79.93.218:80 ESTABLISHE
TCP 111.22.179.115:52758 111.8.9.155:80 TIME_WAIT
TCP 111.22.179.115:52759 117.79.93.218:80 ESTABLISHE
TCP 111.22.179.115:52781 183.60.136.139:80 ESTABLISHE
TCP 111.22.179.115:52782 183.60.136.139:80 ESTABLISHE
TCP 111.22.179.115:52783 183.60.136.139:80 ESTABLISHE
TCP 111.22.179.115:52784 183.60.136.139:80 ESTABLISHE
TCP 111.22.179.115:52785 183.60.136.139:80 ESTABLISHE
TCP 111.22.179.115:52786 183.60.136.139:80 ESTABLISHE
TCP 127.0.0.1:27018 0.0.0.0:0 LISTENING
TCP 127.0.0.1:49403 127.0.0.1:49404 ESTABLISHE
TCP 127.0.0.1:49404 127.0.0.1:49403 ESTABLISHE
TCP 127.0.0.1:49405 127.0.0.1:49406 ESTABLISHE
TCP 127.0.0.1:49406 127.0.0.1:49405 ESTABLISHE
TCP 172.27.35.1:8086 0.0.0.0:0 LISTENING
TCP 172.27.35.1:8087 0.0.0.0:0 LISTENING
TCP 172.27.35.1:8190 0.0.0.0:0 LISTENING
TCP 172.27.35.1:8360 0.0.0.0:0 LISTENING
TCP [::]:80 [::]:0 LISTENING
TCP [::]:135 [::]:0 LISTENING
TCP [::]:445 [::]:0 LISTENING
TCP [::]:49152 [::]:0 LISTENING
TCP [::]:49153 [::]:0 LISTENING
TCP [::]:49154 [::]:0 LISTENING
TCP [::]:49155 [::]:0 LISTENING
TCP [::]:49157 [::]:0 LISTENING
------解决思路----------------------检查一下错误日志,贴出最近的一些日志以供分析。
------解决思路----------------------“打不开”具体什么表现
------解决思路----------------------还有看一些httpd.conf里是否有
AllowOverride none
Require all denied
有的话改成
#Require all denied
------解决思路----------------------是不是装了什么360安全工具拉,呵呵
------解决思路----------------------你的apache有启动么。。看看当前占用80端口的程序是不是apache (tasklist
------解决思路----------------------findstr pid )
------解决思路----------------------安装好了 别忘了启动!
------解决思路----------------------端口估计不是80
------解决思路----------------------首先呢,如果你的apache配置的没有问题的话,那就是你的电脑的hosts文件有问题了;
要是再局域网的情况下,你可以通过别人的电脑直接访问你的站点看看!