首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尝试启动Azure仿真器时出现套接字异常10048

尝试启动Azure仿真器时出现套接字异常10048
EN

Stack Overflow用户
提问于 2013-04-26 13:41:45
回答 1查看 771关注 0票数 0

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

似乎冲突的端口出现了一些问题?

我已经尝试过了:-重新启动计算机,看看是否有任何程序正在保存资源-重新安装Azure SDK和工具。

下面是VS的输出:

代码语言:javascript
复制
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)

希望你们中的任何一个人都有答案,因为我在谷歌上找不到太多。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-06-15 22:50:48

检查您的.csdef项目,并确保只有一个http/https端点。您可以通过右键单击您的云项目中的属性并选择endpoints来完成此操作。我发现同时拥有http (80)和https (443)会抛出这个错误。

此外,如果您使用的是IIS Express (最新版本的SDK中的默认设置),则停止完整的IIS服务可能会有所帮助。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16229473

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档