Service Fabric端口问题来宾可执行Web API

时间:2018-09-03 07:12:45

标签: port azure-service-fabric

在ASP.NET Web API上实施this tutorial。 将清单中的端口传递给来宾可执行Web API。 enter image description here

但是当exe启动时,它会提示错误,表明该端口正在使用中。日志看起来像这样。 exe在这里自动选择下一个端口(按编码)。

1.4.0 error in port http://localhost:3447/Application1/Guest1 Exception has been thrown by the target of an invocation.
1.4.0 Listening to url http://localhost:3448/Application1/Guest1

这是否意味着serviceManifest使用的端口不能被guest可执行文件使用? 由于servicemanfest-application在3447上可访问,guest-executable在3448上可访问,因此如何从外部访问guest-executable? 目前,我可以在3448上访问节点计算机(rdp)内的应用程序。但是不能在Cluster url上访问。

0 个答案:

没有答案