Skip to content

Commit 8cb4c95

Browse files
committed
Changing localhost to 127.0.0.1 #14
1 parent 6d33083 commit 8cb4c95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

getgauge/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
def connect():
99
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
10-
s.connect(('localhost', int(os.environ['GAUGE_INTERNAL_PORT'])))
10+
s.connect(('127.0.0.1', int(os.environ['GAUGE_INTERNAL_PORT'])))
1111
return s
1212

1313

1414
def to_api():
1515
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
16-
s.connect(('localhost', int(os.environ['GAUGE_API_PORT'])))
16+
s.connect(('127.0.0.1', int(os.environ['GAUGE_API_PORT'])))
1717
return s
1818

1919

0 commit comments

Comments
 (0)