Hallo zusammen
import urllib.request
x = urllib.request.urlopen('https://www.google.de/')
print(x.read())
Ich rufe das Programm mit sudo python3 xyz.py auf.
Das Programm läuft ohne Fehler durch.
import urllib.request
x = urllib.request.urlopen("http://192.168.1.11")
print(x.read())
Wenn ich aber jetzt www.google.de mit 192.168.1.11 tausche ist eine IP von ESP 8266 bekomme ich eine Fehler Meldung.
Die IP wird richtig im Edge Browser richtig angezeigt.
Traceback (most recent call last):
Wo ist das Problem mit der IP?
Danke für die Antwort!!!
import urllib.request
x = urllib.request.urlopen('https://www.google.de/')
print(x.read())
Ich rufe das Programm mit sudo python3 xyz.py auf.
Das Programm läuft ohne Fehler durch.
import urllib.request
x = urllib.request.urlopen("http://192.168.1.11")
print(x.read())
Wenn ich aber jetzt www.google.de mit 192.168.1.11 tausche ist eine IP von ESP 8266 bekomme ich eine Fehler Meldung.
Die IP wird richtig im Edge Browser richtig angezeigt.
Traceback (most recent call last):
Wo ist das Problem mit der IP?
Danke für die Antwort!!!