Thanks for the reply. I have tried setting the port for the VENDOR line and specified the same port in the license configuration setting as suggested. However, I still continue to get the "unable to connect to the Licensing Host!" error.
FYI, Below are the first three lines as they appear in the server license file.
SERVER this_host COMPOSITE=E48E527278AF 27000
VENDOR fanfare PORT=27000
I also tried the below settings:-
SERVER this_host COMPOSITE=E48E527278AF
VENDOR fanfare PORT=27000
Both of these cases failed with the same error. I also verified that there is no firewall protection enabled on my host. I also tried by changing the port value in the license file to 27001 on SERVER/VENDOR lines. However, the license server just kept failing to start up when configured to use port 27001. I reverted back to 27000 and the server started up.
Appreciate your help.
You need to specify different ports on the SERVER and VENDOR lines. The way your file is configured, both the server and the daemon will try to start on 27000 or 27001, and cause errors. Could you try keeping SERVER on 27000 and try other ports like 27001, 27002, 27003 etc on the VENDOR line and see what you get?
Thanks AmeyaB. The settings worked.
One question still goes unanswered.... "Why are my corporate office users able to just use the default port option and checkout licenses, where as I need to specify the port which is configured on the VENDOR line" ?
Thanks for the help getting the issue resolved.
I am guessing it has to do with the privilges/permissions on certain ports on your machine or because that port is already being by another application, but it will be hard to say without looking at your computer in greater depth.
The way the Flex licensing server works is as follows: you need 2 ports open, one for the Flex server, the other for the vendor daemon. If you do not specify a specific port for the server, it will use port 27000. However if you do not specify a specific port for the vendor daemon, the server will assign an arbitary port for that daemon. This arbitary port assigned by the server works on other computers in your office but not on yours due to the reasons I mention. If you specify a specific port for the vendor daemon, all communication is guaranteed to be on that port. This is the recommended solution if you are using a firewall or are having issues with certain ports.
I am glad you are up and running now.
There are two ports to be configured on the license server:
1. One for the overall server
2. One for specific vendor
By default, #1 is set to 27000 and #2 is not set.
So by default, when client connects to server, it connects to the configured port (e.g. 27000). Server sends a dynamic port back to the client to connect back to the licensing daemon specific to the vendor. Client closes the initial connection and connects back on the dynamic port.
If you specify a specific port for #2 and configure client with that port, the first part of handshake does not happen and client connects directly to a specific vendor daemon.
So it is easy to see if you have a Firewall or NAT or VPN which allows only specific set of ports, connection to dynamic port will get blocked. That is why if you have users at multiple locations, you should configure specific port for your Fanfare vendor daemon.
1 Person is following this question.