In the AppHost project go to the Properties folder, then open launchSettings.json and add this line to the environmentVariables.
"ASPIRE_ALLOW_UNSECURED_TRANSPORT": "true"
Your launchSettings.json should become like this :
Now you can run your Aspire AppHost project as well.
For more information read here