4,103 questions
either the webapi is not running, throwing an error, or not running on the expected port. check which port the webapi is running on, and hit the /weatherforecast url in the browser to verify. then in the angular project check the port number in vite.config.js. see server section:
proxy: {
'^/weatherforecast': {
target: 'https://localhost:7250/',
secure: false
}
},