Skip to content

Commit

Permalink
Report bind errors on port attempted to bind and not default, for #763
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed May 9, 2022
1 parent 4176afc commit 9f1a6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipwb/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ def start(cdxj_file_path, proxy=None, host=IPWBREPLAY_HOST, port=IPWBREPLAY_PORT
print('Overriding to use default IP and port configuration.')
app.run()
except socketerror:
print(f'Address {IPWBREPLAY_HOST}:{IPWBREPLAY_PORT} already in use!')
print(f'Address {host_port[0]}:{host_port[1]} already in use!')
sys.exit()


Expand Down

0 comments on commit 9f1a6ce

Please sign in to comment.