We installed COBOL Server 2012 Runtime on our server... it's actually a Windows 7 workstation that we use for file sharing. I am using a batch file to run native INT programs from another Windows 7 workstation in the office:
SET COBSW=/S15000+P3-F+B+C
set COBDIR=\\10.172.150.50\COBOLsrv
set PATH=%COBDIR%;%COBDIR%\bin;%PATH%
mfcesdchk.exe >nul
if errorlevel 1 goto startlic
goto startapp
:startlic
start /B mfcesd.exe -b
:checkloop
mfcesdchk.exe >nul
if errorlevel 1 goto checkloop
:startapp
cmd
run mainmenu.int
The mfcesdchk command from the workstation completes successfully and returns:
CES daemon running, version 10000.2.01443
The Windows 7 "server" is running FortiClient Firewall. We have opened port 5093 and we have set lservnt.exe to "allow" for both the private zone and public zone, but we get an error when trying to run our INT:
error code: 247, pc=0, call=1, seg=0
247 Licensing error (Error[5]: Cannot talk to the license server on host "10.172.150.50". Server may not be running.)
When we set the firewall to "Pass All" the INT runs with no issue. Is there some other port or process that needs to be opened up on the firewall for the licensing to work correctly?