Wenn ich in meinem Chrome-Browser localhost:8000
eingebe, wird es auf localhost
umgeleitet und gibt mir die alte "Diese Site kann" t erreicht sein - localhost weigerte sich, eine Verbindung herzustellen. "localhost: 8000 löst auf localhost auf und "diese Site kann nicht erreicht werden" aber localhost: 8000/services funktioniert
Going to localhost:8000/wp-admin
und localhost:8000/services
funktionieren beide gut.
Ich verwende Docker-Wordpress-Compose.
Hier ist meine hosts-Datei:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
Hier ist, was ich bekomme, wenn ich ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.042 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.013 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.038 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.057 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.049 ms
Und wenn ich ping localhost:8000
ping: cannot resolve localhost:8000: Unknown host
Sie können keinen Port anpingen. Vielleicht möchten Sie 'telnet localhost 8000' ausprobieren, um zu prüfen, ob etwas gehört. – Sebastian
@Sebastian - das gab folgendes zurück: 'Trying :: 1 ... Verbunden mit localhost. Escape-Zeichen ist '^]'. ' –
Dann funktioniert es gut. Das Problem liegt bei einer Konfiguration in Ihrer App, die nicht mit dem Andockfenster verknüpft ist. – Sebastian