Merge pull request #326 from Nachtzuster/localhost

use "localhost" like all other internal services do
This commit is contained in:
Patrick McGuire
2022-05-28 11:32:07 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ HEADER = 64
PORT = 5050
FORMAT = 'utf-8'
DISCONNECT_MESSAGE = "!DISCONNECT"
SERVER = "127.0.1.1"
SERVER = "localhost"
ADDR = (SERVER, PORT)
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+1 -1
View File
@@ -24,7 +24,7 @@ except BaseException:
HEADER = 64
PORT = 5050
SERVER = socket.gethostbyname(socket.gethostname())
SERVER = "localhost"
ADDR = (SERVER, PORT)
FORMAT = 'utf-8'
DISCONNECT_MESSAGE = "!DISCONNECT"