Reputation: 415
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.
Upvotes: 8
Views: 2400
Reputation: 415
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.
Upvotes: 15