Winsock error
Winsock Connection refused error; Linux server and Windows clientA client installed our Linux software with lmgrd license manager running on Linux as well. The license manager was up and running and reported
that all the features are available. Problem
However, upon installing our gdsplot software on a Windows client, he received the following Flexlm error window.. lmgrd is not running: Cannot connect to license server system. The license server manager (lmgrd) has not been started yet, the wrong port@host or license file is being used, or the port or hostname in the license file has been changedThe LM_LICENSE_FILE was set properly and we could also ping the server, yet the problem persisted. Solution The user had to open two ports on the Linux side, one for the lmgrd license manager and one for the artwork daemon. The file you need to edit on the Linux side is /etc/sysconfig/iptables and here is the information you need to add to it.. -A INPUT -m state --state NEW -m tcp -p tcp --dport 27006 -j ACCEPT -A INPUT -m state --state NEW -m udp -p udp --dport 27006 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 35543 -j ACCEPT -A INPUT -m state --state NEW -m udp -p udp --dport 35543 -j ACCEPT And then type... # /etc/init.d/iptables restartIn this case, port 27006 was the port used in the SERVER line and the LM_LICENSE_FILE variable. Port 35543 was used for the artwork daemon.
One last thing was to specifically set the daemon port in the license file. |