Skip to content

Commit

Permalink
Changing localhost to 127.0.0.1 #14
Browse files Browse the repository at this point in the history
  • Loading branch information
kashishm committed Nov 5, 2017
1 parent 6d33083 commit 8cb4c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getgauge/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

def connect():
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('localhost', int(os.environ['GAUGE_INTERNAL_PORT'])))
s.connect(('127.0.0.1', int(os.environ['GAUGE_INTERNAL_PORT'])))
return s


def to_api():
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('localhost', int(os.environ['GAUGE_API_PORT'])))
s.connect(('127.0.0.1', int(os.environ['GAUGE_API_PORT'])))
return s


Expand Down

0 comments on commit 8cb4c95

Please sign in to comment.