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"
}

9 Replies
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
i have configurated iis server in appsetting.json now its working but warning message still i am getting
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
There is conflicts between the server Port
Here is my repo-
https://github.com/mirajhad/eCommerceSolution.UsersService
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•2mo ago
Message Not Public
Sign In & Join Server To View
Oh i got it i, I am using docker that is why I gave dynamic port
In the app settings
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
that is for docker setup i was testing, leave it now