by Guest » 20 Feb 2025, 12:00
Ich habe einen internen DNS. Es ist in meinen Routereinstellungen konfiguriert, sodass alle Geräte automatisch verwenden. Ich habe Anfragen Modul und httpx ausprobiert. < /P>
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'))
Dies funktioniert sowohl auf Windows- als auch bei Linux -Maschinen in meinem Netzwerk.
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?
Ich habe einen internen DNS. Es ist in meinen Routereinstellungen konfiguriert, sodass alle Geräte automatisch verwenden. Ich habe Anfragen Modul und httpx ausprobiert. < /P>
[code]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'))
[/code]
Dies funktioniert sowohl auf Windows- als auch bei Linux -Maschinen in meinem Netzwerk.
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?