2013-04-26 78 views
0

當我嘗試啓動Windows Azure Web解決方案時,它一直給我帶代碼10048的套接字異常,然後停止部署到本地模擬器。嘗試啓動Azure模擬器時發生套接字異常10048

enter image description here

好像有一些問題與矛盾的端口?

我曾嘗試: - 重新啓動計算機太看是否有跡象表明分別持有資源的任何程序 - 重新安裝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) 

希望你們有一個答案,因爲我一直無法從谷歌上搜索發現很多。

回答

1

檢查您的.csdef項目,並確保只有一個http/https端點。您可以通過右鍵單擊雲項目中的屬性並選擇端點來完成此操作。我發現有http(80)和https(443)會引發這個錯誤。

另外,如果您使用的是IIS Express(在SDK的最新版本中爲默認值),它可能有助於停止完整的IIS服務。

相關問題