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
I ended up deleting the original VM and all its accoutrements and started a new one that works.
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
Turn off window defender firewall like below:
Disable the firewall and try to activate port 22 by using below commands like below:
Now try to access Network license manager via browser and check
Reference:
Run Network License Manager from Microsoft Azure – MATLAB