I have created a Asp.net Core Angular 2 app using the SPA template provided by VS2017. Everything works fine locally. But when published to Azure as a web application the following error occurs:
AggregateException: One or more errors occurred. (Attempt to connect to Node timed out after 60000ms.)
I checked the stdout file and I also see the following error prior to the above:
Microsoft.AspNetCore.Server.Kestrel[0] Unable to bind to http://localhost:19013 on the IPv6 loopback interface: 'Error -4090 EADDRNOTAVAIL address not available'.
I am not finding much online also, there is no code change from my end and its just the default template.
Seems like for an app service, we need to explicitly add node version on the app services in the app settings.
Doing it resolved the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With