MATLAB: Do I get the “Error: unable to connect to host Connection timed out: connect” when installing or activating MATLAB products

errorMATLABoutservicetime

Why do I get the following error when activating MATLAB products?
Service error:
Error: unable to connect to host. Connection timed out: connect

Best Answer

This issue is currently being investigated by MathWorks.
To resolve the issue for now, please obtain a license file and activate manually without the internet to complete the activation process.
To do so, follow the instructions in this article:
How do I activate MATLAB without an internet connection?
If you are unable to resolve the issue by the steps above, please contact Installation and Licensing Support: