Not able to connect to uft license server from docker container

I am able to connect to uft license server from the host but while trying from the docker container, which shares the same network as the host, not able to connect it

the error says 

C:\Program Files(x86)\Micro Focus\Unified Functional Testing\bin > HP.UFT.LicenseInstall.exe licenses server:5814 

cannot  connect to license server please check your network connection