TSYS-Merchant / stumps

Apache License 2.0
3 stars 3 forks source link

update Random Generator with seed value to prevent conflicting Port #100

Closed gpi-lchivers closed 2 years ago

gpi-lchivers commented 3 years ago

2018 Issue raised by Alec: https://github.com/TSYS-Merchant/stumps/issues/97

When concurrent stumps instances are created on the same localhost they have a chance of incurring a HttpListenerException with conflicting Ports.

Example: System.Net.HttpListenerException : Failed to listen on prefix 'http://*:7001/' because it conflicts with an existing registration on the machine.

globalpayments-lreilly commented 3 years ago

Changes LGTM @gpi-lchivers