skip to Main Content

I have deployed a Network License Manager for MATLAB 2022b Azure Virtual Machine (VM) from the Azure Marketplace. The deployment spins up a Windows Server 2019 VM of Standard_B1s class and it seems to be successful because I can ssh, from WSL, and RDP to the VM. However, if I try to access the license manager portal through a browser from home or office, with either Firefox or MS Edge I get the much dreaded "The connection has timed out" and "Hmmm… can’t reach this page xxx.yyy.zzz.www took too long to respond" respectively.

I have the following inbound and settings rules in my Network Security Group (NSG). All the rules have been set up by the VM and I have only changed the priorities of allow-https and allow-ssh to 100 and 110 respectively and the fake Source address that I input at the VM configuration page to 0.0.0.0/0 I have restarted the VM after to propagate the changes.
Inbound and outbound rules of the VM NSG

This aerospace engineer is totally stuck because the (MATLAB) license manager only starts if a license file is loaded through the portal and the portal can only be accessed through the browser. I have also tried to start the license manager at the command line but failed.

2

Answers


  1. Chosen as BEST ANSWER

    I ended up deleting the original VM and all its accoutrements and started a new one that works.


  2. If you are trying to access your vm in browser, Check the network firewall rule of service and inside of the vm check the port 22 is actually operational.

    "The connection has timed out" error usually occurs if you have installed firewall or security software on your computer it may be preventing access to the virtual machine.

    In your task bar type windows defender firewall -> change notification setting

    enter image description here

    Turn off window defender firewall like below:

    enter image description here

    Disable the firewall and try to activate port 22 by using below commands like below:

    sudo ufw disable
    sudo ufw status
    ufw allow 22/tcp
    

    enter image description here

    • Try to check license server details to make sure that you are using the correct hostname and port number.
    • Check whether the client machine is authorized to use the licenses on the license server.
    • If still the issue persists, try to restart the license and client machine and try.

    Now try to access Network license manager via browser and check

    Reference:

    Run Network License Manager from Microsoft Azure – MATLAB

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search