I am setting local host port in local.setting.json. Referring Microsoft doc https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local
The file looks like below:
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "",
"AzureWebJobsDashboard": ""
},
"Host": {
"LocalHttpPort": 7073
}
}
When I run/debug the solution, VS still host the app on the default port (7071)
I have checked the bin directory, the local.setting.json
the file is geting there with above settings. Running Azure Function CLI (func host start
) from bin directory correctly read the port number.
Looks like VS is not using the "LocalHttpPort
" port. Is there any other changes required in the settings. I have Visual Studio 2017 Preview (2)