Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port configuration from local.settings.json not respected in dotnet-isolated mode #745

Closed
jp1482 opened this issue Dec 8, 2021 · 1 comment
Assignees

Comments

@jp1482
Copy link

jp1482 commented Dec 8, 2021

Software Configuration

  • Visual Studio 2022
  • .NET 6

Azure Functions Version : 4
Runtime : dotnet-isolated

There is host configuration is local.setting.json

"Host":{
   "CORS":"*",
   "LocalHttpPort":7073
}

Now if I run function with httptrigger using F5 of Visual Studio , it is still running on 7071. Also when I remove CORS then it create problem. It means that configuration read but port setting not applied when running. If I run from commandline func start then it run on 7073 so why it is not running when I direct run from Visual Studio.

@ghost ghost assigned kshyju Dec 8, 2021
@anthonychu
Copy link
Member

Closing as duplicate of Azure/azure-functions-core-tools#823

@ghost ghost locked as resolved and limited conversation to collaborators Jan 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants