Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Expanding Port range used by CUPC

                   Hello,

I am having an issue launching CUPC in our environment (Windows Server 2008 64bit) and in the logs, we seen an error about ports not being available.  I've found where the port is specified for use by CUPC to listen to Cisco Unified Framework on 44442.  It looks like the app tries that port first and then increments up by 1 till it finds a port that is available or quits after incementing 9 times (tries a total of 10 ports).  I'd like to specify additional tries (maybe up to 50 or 60 rather than just 10) so that it keeps incrementing up to at least port 44500 or so.  Just to be clear, I do not want to change the initial port it tries first, just the numbe of times it will increment the port up before it gives up.  I could not find anywhere in the config files or registry where this is set but it most definitely appears to do this according to the debug file.  Any help is much appreciated.  Here is the snapshot of the interesting part of the debug:

2012-08-29 12:34:46,608 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44442 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,609 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44443 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,609 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44444 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,610 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44445 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,610 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44446 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,610 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44447 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,610 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44448 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,611 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44449 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,611 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44450 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,611 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44451 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,612 ERROR [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.ReadCallbackPortNumber(0)] - No available port from 44442 to 44452).

2012-08-29 12:34:46,612 ERROR [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.ConfigurationHelper] [ConfigurationHelper.GetClientServerBaseAddress(0)] - Couldn't get CUCIMOCCSFPort from System Registry.

2012-08-29 12:34:46,618 DEBUG [1 ] [Cisco.Uc.Clients.Common.WpfServicesClient.ServicesClient] [ServicesClient.Destroy(0)] - ServicesClient Destroy is being called

2012-08-29 12:34:46,608 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44442 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,609 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44443 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,609 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44444 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,610 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44445 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,610 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44446 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,610 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44447 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,610 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44448 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,611 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44449 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,611 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44450 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,611 WARN  [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.IsAvailablePort(0)] - SocketException - Port 44451 is not available

System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions

   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

   at System.Net.Sockets.Socket.Bind(EndPoint localEP)

   at Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper.IsAvailablePort(Int32 port)

2012-08-29 12:34:46,612 ERROR [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.TcpPortHelper] [TcpPortHelper.ReadCallbackPortNumber(0)] - No available port from 44442 to 44452).

2012-08-29 12:34:46,612 ERROR [10] [Cisco.Uc.Clients.Common.ServiceAdaptors.Utilities.ConfigurationHelper] [ConfigurationHelper.GetClientServerBaseAddress(0)] - Couldn't get CUCIMOCCSFPort from System Registry.

2012-08-29 12:34:46,618 DEBUG [1 ] [Cisco.Uc.Clients.Common.WpfServicesClient.ServicesClient] [ServicesClient.Destroy(0)] - ServicesClient Destroy is being called

1 REPLY
Community Member

Expanding Port range used by CUPC

Hmm, sorry but the debug file was pasted in twice by accident. It repeats after the line "SevicesClient Destroy is being called"

227
Views
0
Helpful
1
Replies
CreatePlease to create content