Browse Source

Changed localhost to 127.0.0.1 for Windows machines

Yentl Van Tendeloo 8 years ago
parent
commit
c52da7bf14
2 changed files with 2 additions and 2 deletions
  1. 1 1
      scripts/run_MvC_server.py
  2. 1 1
      wrappers/modelverse.py

+ 1 - 1
scripts/run_MvC_server.py

@@ -7,7 +7,7 @@ import urllib
 import urllib2
 
 MVK_PORT = 8001
-MVK_ADDRESS = "http://localhost"
+MVK_ADDRESS = "http://127.0.0.1"
 ADMIN_USER = "admin"
 ADMIN_PASSWORD = "admin"
 SETUP_USER = "setup_task"

+ 1 - 1
wrappers/modelverse.py

@@ -120,7 +120,7 @@ class InterfaceMismatch(ModelverseException):
     pass
 
 # Main MvC operations
-def init(address_param="http://localhost:8001"):
+def init(address_param="http://127.0.0.1:8001"):
     """Starts up the connection to the Modelverse."""
     # return None
     # raises ConnectionError