tente usar http: // para localhost em vez de https: //
http://localhost
link
oi incapaz de se conectar ao host local depois de instalar o Apache marcado com https//localhost
, https//127.0.1.1
e https//127.0.1.1
por favor, encontrar os logs abaixo
avinash@ubuntu:/etc/init.d$ sudo service apache2 restart
[sudo] password for avinash:
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
avinash@ubuntu:/etc/init.d$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:54:d4:d1
inet addr:192.168.56.130 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe54:d4d1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14746 errors:0 dropped:0 overruns:0 frame:0
TX packets:7681 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17657949 (17.6 MB) TX bytes:749463 (749.4 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:172 errors:0 dropped:0 overruns:0 frame:0
TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9920 (9.9 KB) TX bytes:9920 (9.9 KB)
tente usar http: // para localhost em vez de https: //
http://localhost
link