尝试连接到节点在 60000 毫秒后超时
Attempt to connect to Node timed out after 60000ms
我使用 VS2017 提供的 SPA 模板创建了一个 Asp.net Core Angular 2 应用程序。在本地一切正常。但是当作为 Web 应用程序发布到 Azure 时,会出现以下错误:
AggregateException: One or more errors occurred. (Attempt to connect
to Node timed out after 60000ms.)
我检查了 stdout 文件,在上面的错误之前我还看到了以下错误:
Microsoft.AspNetCore.Server.Kestrel[0] Unable to bind to
http://localhost:19013 on the IPv6 loopback interface: 'Error -4090
EADDRNOTAVAIL address not available'.
我在网上也找不到太多,我这边没有代码更改,它只是默认模板。
似乎对于应用服务,我们需要在应用设置中为应用服务明确添加节点版本。
这样做解决了问题。
我使用 VS2017 提供的 SPA 模板创建了一个 Asp.net Core Angular 2 应用程序。在本地一切正常。但是当作为 Web 应用程序发布到 Azure 时,会出现以下错误:
AggregateException: One or more errors occurred. (Attempt to connect to Node timed out after 60000ms.)
我检查了 stdout 文件,在上面的错误之前我还看到了以下错误:
Microsoft.AspNetCore.Server.Kestrel[0] Unable to bind to http://localhost:19013 on the IPv6 loopback interface: 'Error -4090 EADDRNOTAVAIL address not available'.
我在网上也找不到太多,我这边没有代码更改,它只是默认模板。
似乎对于应用服务,我们需要在应用设置中为应用服务明确添加节点版本。
这样做解决了问题。