We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d33083 commit 8cb4c95Copy full SHA for 8cb4c95
getgauge/connection.py
@@ -7,13 +7,13 @@
7
8
def connect():
9
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
10
- s.connect(('localhost', int(os.environ['GAUGE_INTERNAL_PORT'])))
+ s.connect(('127.0.0.1', int(os.environ['GAUGE_INTERNAL_PORT'])))
11
return s
12
13
14
def to_api():
15
16
- s.connect(('localhost', int(os.environ['GAUGE_API_PORT'])))
+ s.connect(('127.0.0.1', int(os.environ['GAUGE_API_PORT'])))
17
18
19
0 commit comments