无法监听所提供的任何地址和端口 [英] Failed to listen on any address and port supplied

查看:325
本文介绍了无法监听所提供的任何地址和端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我可能是问题可能是防火墙问题,或者我们被给予10607端口号可能导致任何问题或UCMA应用程序有任何空间端口号


Microsoft.Rtc.Signaling.ConnectionFailureException:无法监听所提供的任何地址和端口。


也来自UCMA我们正在寻找例外


这是我们的ucma方法geting异常



 



private
void
PlatformStartupCompleted(
IAsyncResult


result)


{



 






CollaborationPlatform
collabPlatform = result.AsyncState
as
CollaborationPlatform


;


 






bool
needCleanup =
true


;


 








尝试







{


collabPlatform.EndStartup(result);



Log.Info(



"平台现已启动。"


); < font face ="Consolas"size ="2"style ="font-size:x-small; font-family:Consolas">


needCleanup =






false


;


}



 






catch
RealTimeException


rte)


{



Log.Error(






"Platform End" startup抛出一个RealTimeException。"


,rte);


}



 








终于







{



 



if


(needCleanup)


{



 






this


。清理();


}


}


}


这个
方法抛出异常,如






"Platform End startup抛出RealTimeException。" ;


请帮助我

解决方案

当程序出现时防火墙不是问题尝试侦听端口并且它失败。很可能是另一个程序已经声明了该端口。


您发布的"异常"是由您的程序记录并提供的文本消息没有深入了解正在发生的错误。


我建议你遵循这里提出问题的指导方针 - http://support.microsoft.com/kb/555375


pls tell me whr may be the problem it is may be the firewall problem or we are given 10607 port number that may causes any problem or UCMA application having any spacified port number

Microsoft.Rtc.Signaling.ConnectionFailureException:Failed to listen on any address and port supplied.

also from UCMA we are geting exception like

this our ucma method geting exception

 

private void PlatformStartupCompleted(IAsyncResult

result)

{

 

CollaborationPlatform collabPlatform = result.AsyncState as CollaborationPlatform

;

 

bool needCleanup = true

;

 

try

{

collabPlatform.EndStartup(result);

Log.Info(

"The platform is now started."

);

needCleanup =

false

;

}

 

catch (RealTimeException

rte)

{

Log.Error(

"Platform End startup threw an RealTimeException."

, rte);

}

 

finally

{

 

if

(needCleanup)

{

 

this

.Cleanup();

}

}

}

this method throwing an exception like

"Platform End startup threw an RealTimeException."

pls help me

解决方案

The firewall isn't as issue when a program is attempting to listen on a port and it fails. Most likely another program has already claimed the port.

The "exception" that you posted is a text message that logged by your program and provides no insight into the error that is occurring.

I suggest you follow the guidelines for asking a question here - http://support.microsoft.com/kb/555375


这篇关于无法监听所提供的任何地址和端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆