Set telnet IP address

This commit is contained in:
ollo 2020-03-04 21:01:30 +01:00
parent 65d2de6801
commit 17a9416607

View File

@ -49,7 +49,7 @@ def main(nodeip, luafile, volatile=None):
else: else:
try: try:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((nodeip, 80)) s.connect((nodeip, 23))
time.sleep(0.050) time.sleep(0.050)
s.sendall("\n") s.sendall("\n")
# Receive the hello Message of answer of the ESP # Receive the hello Message of answer of the ESP