TruCluster
Showing results for 
Search instead for 
Do you mean 

Two applications listening on the same port

Occasional Advisor

Two applications listening on the same port

Hello,

I run two instances of the same application in a 3 members cluster. Each application is define as a CAA resource. The application is not defined as a multi-instance application because I need to differentiate the two services.
An alias is defined for each of the resources.
Only one cluster's member join the alias.
It seems my two applications are not able to listen on the same port number. I think it should work because the resources do not use the same alias ? Can someone explain me what is wrong ?
1 REPLY
Honored Contributor

Re: Two applications listening on the same port

The alias should form anyway. The application should fail to start if another process openned the port.

Port the results of the /etc/clu_alias.config of these nodes and the results of:

cluamgr -s all

Of all nodes. Also would help the services and clua_services entry for the applications.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
//Add this to "OnDomLoad" event