Skip to content

Commit 1ec8f79

Browse files
author
Ian Craggs
committed
Try again
1 parent 384301c commit 1ec8f79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ build_script:
2222
2323
netsh advfirewall set allprofiles state off
2424
25-
start /B python -m trace --count ..\test\mqttsas2.py mqtt.iotree.co.uk
25+
start /B python ..\test\mqttsas2.py
2626
2727
ctest -T test -VV
2828

test/mqttsas2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ class ThreadingTCPServer(socketserver.ThreadingMixIn, socketserver.TCPServer):
9595

9696
def run():
9797
global brokerhost, brokerport
98-
myhost = 'localhost'
98+
myhost = '127.0.0.1'
9999
if len(sys.argv) > 1:
100100
brokerhost = sys.argv[1]
101101
else:
102-
brokerhost = 'localhost'
102+
brokerhost = '127.0.0.1'
103103

104104
if len(sys.argv) > 2:
105105
brokerport = int(sys.argv[2])

0 commit comments

Comments
 (0)