【发布时间】:2018-06-27 19:39:40
【问题描述】:
我在已安装 IIS 的服务器上安装了具有默认配置的 AD FS 3.0。每次启动服务时,都会抱怨无法绑定IP端点0.0.0.0:808。 以下是事件日志的摘录:
来源:AD FS
事件 ID:102
说明:
启用联合服务的端点时出错。使用 PowerShell cmdlet 修复配置错误并重新启动联合服务。附加数据
异常详情:
System.ServiceModel.AddressAlreadyInUseException:IP 端点 0.0.0.0:808 上已经有一个侦听器。如果有另一个应用程序已经在侦听此端点,或者您的服务主机中有多个服务端点具有相同的 IP 端点但绑定配置不兼容,则可能会发生这种情况。 ---> System.Net.Sockets.SocketException: 每个套接字地址(协议/网络地址/端口)通常只允许使用一次
在 System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
在 System.Net.Sockets.Socket.Bind(EndPoint localEP)
在 System.ServiceModel.Channels.SocketConnectionListener.Listen()
--- 内部异常堆栈跟踪结束 ---
在 System.ServiceModel.Channels.SocketConnectionListener.Listen()
在 System.ServiceModel.Channels.ConnectionAcceptor.StartAccepting()
在 System.ServiceModel.Channels.ExclusiveTcpTransportManager.OnOpen()
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.TcpChannelListener`2.OnOpen(TimeSpan 超时)
在 System.ServiceModel.Channels.CommunicationObject.Open(时间跨度超时)
在 System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(时间跨度超时)
在 System.ServiceModel.Channels.CommunicationObject.Open(时间跨度超时)
在 System.ServiceModel.ServiceHostBase.OnOpen(时间跨度超时)
在 System.ServiceModel.Channels.CommunicationObject.Open(时间跨度超时)
在 Microsoft.IdentityServer.ServiceHost.STSService.StartSTSService(ServiceHostManager serviceHostManager, ServiceState serviceState)
【问题讨论】:
标签: wcf iis adfs adfs3.0 net.tcp