Why do I get a connection error when installing or activating MATLAB or other MathWorks products?

Illustration
Ambelu - 2023-03-28T12:17:38+00:00
Question: Why do I get a connection error when installing or activating MATLAB or other MathWorks products?

I get an error that I cannot connect to MathWorks when running the MathWorks installer or the activation client; however, I can access the website. Why can't the MathWorks Installer or activation client connect to the MathWorks?     Connection Error The application could not connect to MathWorks. For more information on resolving this issue, see this Support Article.  

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20

Computer or network security software is preventing the MathWorks Installer and/or Activation Client from connecting to the MathWorks servers. This is known as a connection issue due to one or more of the following: 
  • Antivirus Software
  • VPN
  • Proxy
  • Firewall

Antivirus Software

To temporarily disable your Antivirus on Windows:
  1. Locate the Antivirus protection program icon on the Windows system tray.
  2. Right-click the icon and select Disable, Stop, etc. to temporarily disable the program. In some cases, you may need to open the program and disable it using the program's menus.
 To temporarily disable your Antivirus on a Mac:
  1. Locate the Antivirus icon found on your Mac menu bar.
  2. Click Shut down or disable temporarily until installation and activation have completed.
You may also find these settings in the System Preferences application under the Security & Privacy tab.
 
To temporarily disable your Antivirus on a Linux:
  1. Locate the Antivirus protection program icon on the Linux system tray.
  2. Click Shut down or disable temporarily until installation and activation have completed.
 

VPN

Some Virtual Private Networks (VPN) will interfere with the installer working correctly. If you have one, try disabling it and then running the installer again. Disabling it will vary depending on what VPN you are using. Refer to your VPN's documentation if you are unsure how to do this.
 

Proxy

The MathWorks installer, activation client and update installer will try to automatically inherit your user proxy settings on Windows and MacOS.
To disable your Proxy in Internet Explorer:
  1. Click the Tools button and then select Internet Options.
  2. Click the Connections tab and then select LAN settings.
  3. Uncheck the check box for Use a proxy server for your LAN.
To disable your Proxy in Chrome:
  1. Open the Customize and Control Google Chrome menu by clicking on the three-dots icon at the top right of Google Chrome, select Settings on the right, find Advanced and finally select open proxy settings.
  2. Select the LAN Settings button.
  3. Deselect the checkbox for Use a proxy server for your LAN.
To disable your Proxy in Safari:
  1. Go to Menu and click on Preferences from the drop-down menu.
  2. Select the Advanced tab and then click on the Change Settings button.
  3. Deselect the checkbox for Use a proxy server for your LAN.
To disable your Proxy in Firefox:
  1. Click the Tools button and select Options.
  2. Go to the Advanced panel and select the Network tab.
  3. Click on Settings in the Connection Section and select No Proxy.
You will need to contact your IT Help Desk to troubleshoot this issue if you don't know your proxy settings or the error persists after entering your proxy settings.
 

Firewall

You will need to contact your IT Help Desk if your organization is running a network firewall to configure it to bypass blocked connections to the MathWorks servers.The MathWorks installer needs to contact MathWorks servers on the following ports and addresses:
  • mathworks.com
  • licensing.mathworks.com
  • login.mathworks.com
  • services.mathworks.com
  • TCP ports 80 and 443
Your firewall needs to bypass blocked connections for both addresses over both ports. These servers do not use a Static IP Address and will resolve to a Dynamic IP Address. This means that users will not be able to white-list MathWorks servers via IP Address and will have to use the domain name. 
 

Offline procedures

To bypass connection errors when installing or activating MATLAB, you may perform an offline installation or activation.


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!