无法侦听BeginStartup上指定的任何端口或地址 [英] failed to listen on any port or address specfied on BeginStartup
问题描述
我收到"未能收听任何指定的端口或地址" 当
为了_OcsTrace.Trace(" :::::" + _ SipEndPointDisplayName +":" + _ ServerName +":" + _ Port);
                    ServerPlatformSettings platformSettings = new ServerPlatformSettings(_SipEndPointDisplayName,                                                    与 _ServerName,
                                                         &N BSP;                                      _Port,
                                                                                                "" ;,
                    &NBSP ;                        &NBSP ;                        &NBSP ;                      _Certificate);
_collabPlatform = new CollaborationPlatform(platformSettings);
_collabPlatform.BeginStartup(PlatformStartupCompleted,_collabPlatform);
相同代码正在运行 作为win表单示例。但是,当我在WebService中做同样的事情时,它不是。所有的IIS 访问问题?
可以 有人请帮帮我吗?
谢谢,
Hi ,
I am getting "failed to listen on any port or address specfied" when
_OcsTrace.Trace(":::::"+_SipEndPointDisplayName+":"+_ServerName+":"+_Port);
ServerPlatformSettings platformSettings = new ServerPlatformSettings(_SipEndPointDisplayName,
_ServerName,
_Port,
"",
_Certificate);
_collabPlatform = new CollaborationPlatform(platformSettings);
_collabPlatform.BeginStartup(PlatformStartupCompleted, _collabPlatform);
The same code is working as win Form sample. But when i do the same thing in WebService its not .
Any kind of IIS Access issue ?
could somebody please help me on this?
Thanks,
Raj
推荐答案
我感到痛苦。 我花了一个星期的时间与操作人员一起努力做到这一点。 您可以尝试的一些事项:
确保您的服务运行的用户帐户:
- 已访问网络堆栈
- 可以访问您在UCMA应用程序配置中配置的侦听端口。 (为此使用urlacl命令行。)
I feel your pain. I just spent a week with the operations people trying to get this right. Some things you can try:
Make sure that the user account that your service will run under:
- Has access to the network stack
- Has access to the listening port you configured in the provisioning for the UCMA app. (Use urlacl command line for this.)
这篇关于无法侦听BeginStartup上指定的任何端口或地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!