When I try to run my .NET project, the browser doesn't open, and I receive a warning in the console.

this is my launch setting. i am not able to figure out { "profiles": { "http": { "commandName": "Project", "launchBrowser": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development", "POSTGRES_HOST":"localhost", "POSTGRES_PASSWORD":"1234", "POSTGRES_USER":"postgres", "POSTGRES_DATABASE":"eCommerceuUsers", "POSTGRES_PORT":"5432" }, "dotnetRunMessages": true, "applicationUrl": "http://localhost:5054" }, "https": { "commandName": "Project", "launchBrowser": true, "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development", "POSTGRES_HOST": "localhost", "POSTGRES_PASSWORD": "1234", "POSTGRES_USER": "postgres", "POSTGRES_DATABASE": "eCommerceuUsers", "POSTGRES_PORT": "5432" }, "dotnetRunMessages": true, "applicationUrl": "https://localhost:7066;http://localhost:5054" }, "Container (Dockerfile)": { "commandName": "Docker", "launchBrowser": true, "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}", "environmentVariables": { "ASPNETCORE_HTTPS_PORTS": "8081", "ASPNETCORE_HTTP_PORTS": "8080", "POSTGRES_HOST": "localhost", "POSTGRES_PASSWORD": "1234", "POSTGRES_USER": "postgres", "POSTGRES_DATABASE": "eCommerceuUsers", "POSTGRES_PORT": "5432" }, "publishAllPorts": true, "useSSL": true } }, "$schema": "https://json.schemastore.org/launchsettings.json" }
No description
9 Replies
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
clever_cottonmouth
clever_cottonmouthOP2mo ago
i have configurated iis server in appsetting.json now its working but warning message still i am getting
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
clever_cottonmouth
clever_cottonmouthOP2mo ago
There is conflicts between the server Port
clever_cottonmouth
clever_cottonmouthOP2mo ago
GitHub
GitHub - mirajhad/eCommerceSolution.UsersService: eCommerce Project...
eCommerce Project, Docker, Kubernetes, RabbitMQ, Entra ID, ASP.NET Core Web API, Event Driven Architecture, Polly, more - mirajhad/eCommerceSolution.UsersService
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
clever_cottonmouth
clever_cottonmouthOP2mo ago
Oh i got it i, I am using docker that is why I gave dynamic port In the app settings
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
clever_cottonmouth
clever_cottonmouthOP2mo ago
that is for docker setup i was testing, leave it now

Did you find this page helpful?