platformplatform / PlatformPlatform

🚀 Pre-alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
217 stars 21 forks source link

Set up kestrel to listen to localhost instead of any IP #519

Closed mstypsan closed 1 month ago

mstypsan commented 1 month ago

Summary & Motivation

This pull request will configure kestrel to only listen to localhost and not any IP for the development environment. This change will also stop the firewall warnings popup from the APIs.

Also, rename ServerOnPort extension method to ConfigureDevelopmentPort to make it clear that this is only for development.

Checklist

sonarcloud[bot] commented 1 month ago

Please retry analysis of this Pull-Request directly on SonarCloud

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 1 month ago

Please retry analysis of this Pull-Request directly on SonarCloud