Code: Select all
import requests
requests.get("https://test.mynetwork.de")
< /code>
führt zu: < /p>
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='test.mynetwork.de', port=443): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 65] No route to host'))
curl https://test.mynetwork.de
< /code>
Es funktioniert auch im Browser und mit anderen Befehlen wie nslookup oder dig. Es ist in /etc/resolv.conf
Nichts funktioniert. Und das Seltsame ist, dass es früher ohne Konfiguration auf meinem alten Mac funktioniert hat.
Hat jemand eine Idee, warum?