microsoft / AttackSurfaceAnalyzer

Attack Surface Analyzer can help you analyze your operating system's security configuration for changes during software installation.
MIT License
2.68k stars 271 forks source link

How to change the port used #691

Closed huntantr closed 1 year ago

huntantr commented 1 year ago

Describe the bug When attempting to run "asa gui" I get the following error. [05:47:23 INF] AttackSurfaceAnalyzer v.2.3.297+8f3ee6911a Unhandled exception. System.IO.IOException: Failed to bind to address http://localhost:5000. This is a corporate machine and only specific ports are allowed.

To Reproduce Steps to reproduce the behavior:

  1. type "asa gui" Exception occurs due to the port being blocked.

Expected behavior The tool runs as expected.

System Configuration (please complete the following information):

gfs commented 1 year ago

Hi @huntantr,

Thanks for the feedback! This isn't currently possible, but I've added this functionality to enable your scenario in #693. New version should be out later today with this functionality using asa gui --port xxxx

gfs commented 1 year ago

Fixed with #693.

huntantr commented 1 year ago

Thanks for the fast turn around.