0
I've installed LAMP under Ubuntu 14, placed a copy of my WordPress folder files under the /lampstack-5.6.30-0/apache2/htdocs/wordpress/ folder, started LAMP Apache, MySQL...yet each time I try to reach localhost/wordpress/ I get routed automatically to localhost:8888/wordpress/ and get error message
This site can’t be reached
localhost refused to connect.
I've tried many times to go to localhost:8080/wordpress or localhost/wordpress but I get routed back to localhost:8888/wordpress and see the error message shown above. Can someone please tell me what I might be missing here/ doing wrong? Thanks
Update 1:
Results of 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
1Could you show result of:
sudo netstat -lntp
? – Alex – 2017-02-01T10:04:55.743@Alex Thanks for your reply, I've updated my question with the results of sudo netstat -lntp Thanks – MChan – 2017-02-01T11:02:13.473
That looks like your apache configured to listen only on IPv6 addresses and there no appropriate IPv6 record in
/etc/hosts
for localhost. – Alex – 2017-02-01T12:56:46.703