我已经在Ubuntu 14下安装了LAMP,在/lampstack-5.6.30-0/apache2/htdocs/wordpress/文件夹下放置了我的WordPress文件夹文件的副本,启动了LAMP Apache,MySQL ...但是每次我尝试到达localhost / wordpress /我会自动路由到localhost:8888 / wordpress /并收到错误消息
This site can’t be reached
localhost refused to connect.
我已经尝试了很多次去localhost:8080 / wordpress或localhost / wordpress,但是我被路由回localhost:8888 / wordpress,并看到上面显示的错误消息。有人可以告诉我在这里我可能会想念的/做错了吗?谢谢
更新1:
sudo netstat -lntp的结果
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:2015 0.0.0.0:* LISTEN 1348/expressvpnd
tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN 1205/mongod
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 4117/mysqld.bin
tcp 0 0 127.0.0.1:28017 0.0.0.0:* LISTEN 1205/mongod
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN 1924/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2095/cupsd
tcp6 0 0 :::8080 :::* LISTEN 4277/httpd.bin
tcp6 0 0 ::1:631 :::* LISTEN 2095/cupsd
tcp6 0 0 :::8443 :::* LISTEN 4277/httpd.bin
请尝试改用127.0.0.1:8080/wordpress,它应该可以工作。我已经在计算机上尝试过了,可以使用URL 127.0.0.1访问LAMP网站。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句