当我尝试启动windows azure web解决方案时,它一直给我一个套接字异常,代码为10048,然后停止部署到本地仿真器。

似乎冲突的端口出现了一些问题?
我已经尝试过了:-重新启动计算机,看看是否有任何程序正在保存资源-重新安装Azure SDK和工具。
下面是VS的输出:
Windows Azure Tools: Warning: Remapping public port 80 to 81 to avoid conflict during emulation.
Windows Azure Tools: Warning: Remapping public port 3389 to 3390 to avoid conflict during emulation.
Windows Azure Tools: Warning: Remapping private port 80 to 82 in role 'CloudSearch.Master.Web' to avoid conflict during emulation.
Windows Azure Tools: Warning: Remapping private port 3389 to 3390 in role 'CloudSearch.Master.Web' to avoid conflict during emulation.
Windows Azure Tools: [Listener127.0.0.1:81] Socket Exception (10048) occured when initializing client listener
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Windows.Azure.DevFabric.IManagement.UpdateTenant(String tenantName, ServiceModelDefinition serviceModel)
at Microsoft.ServiceHosting.Tools.DevelopmentFabric.FabricClient.AddServiceDeployment(String tenantName, ServiceModelDefinition serviceModelDefinition, String instanceDescriptionPath, ServiceDeploymentOptions options)希望你们中的任何一个人都有答案,因为我在谷歌上找不到太多。
发布于 2013-06-15 22:50:48
检查您的.csdef项目,并确保只有一个http/https端点。您可以通过右键单击您的云项目中的属性并选择endpoints来完成此操作。我发现同时拥有http (80)和https (443)会抛出这个错误。
此外,如果您使用的是IIS Express (最新版本的SDK中的默认设置),则停止完整的IIS服务可能会有所帮助。
https://stackoverflow.com/questions/16229473
复制相似问题