cisagov / cset

Cybersecurity Evaluation Tool
MIT License
1.46k stars 255 forks source link

CORS Failed #3118

Open abnr-n opened 1 year ago

abnr-n commented 1 year ago

🐛 Bug Report

CORS Failed

To Reproduce

Windows Server Standard 2022 Installed using CSETv11200_Enterprise_Binaries.zip

Expected behavior

CSET runs fine using a browser locally on the server. Can login and create assessments with no problem.

Accessing the CSET from a remote host gives error: The server is unavailable. Contact your system administrator.

Any helpful log output

firefox_FWffojIRej

adamz01h commented 1 month ago

Update C:\inetpub\wwwroot\CSETUI\assets\settings\config.json replace localhost with your ip address or hostname in that file restart the app pool add a firewall rule to allow inbound traffic on port 5001 everything should work as expected.