|
@@ -107,7 +107,7 @@ def run_file(files, parameters, expected, mode):
|
|
|
|
|
|
time.sleep(0.01)
|
|
|
port = getFreePort()
|
|
|
- address = "http://localhost:%i" % port
|
|
|
+ address = "http://127.0.0.1:%i" % port
|
|
|
try:
|
|
|
# Run Modelverse server
|
|
|
proc = execute("run_local_modelverse", [str(port)], wait=False)
|
|
@@ -186,7 +186,7 @@ def run_file(files, parameters, expected, mode):
|
|
|
|
|
|
def run_barebone(parameters, expected, interface="0", timeout=False, wait=False, link=None, inputs=[]):
|
|
|
port = getFreePort()
|
|
|
- address = "http://localhost:%i" % port
|
|
|
+ address = "http://127.0.0.1:%i" % port
|
|
|
try:
|
|
|
# Run Modelverse server
|
|
|
proc = execute("run_local_modelverse", [str(port)], wait=False)
|