I get an error that I cannot connect to MathWorks when running the MATLAB installer or the activation client. However, I can access the website. Why can't the activation client connect to the MathWorks?
If you receive a connection error when attempting to install or activate MATLAB or another MathWorks product, even if your computer is connected to the internet, there is likely a firewall or proxy server which is preventing the activation client from contacting MathWorks.
This error will read:
The application could not connect to MathWorks. Please make sure your internet connection is available and that all software and hardware firewalls have been disabled before retrying your request.
On Windows, the MATLAB installer and activation client will attempt to automatically inherit your computer's proxy settings. If this process fails you may need to manually enter your settings using the "connection settings" button on the first screen of the installer or activation client. On Mac and Linux you will always need to enter these settings manually.
If you do not know your proxy settings or the error persists after entering your proxy settings, you will need to contact your system administrator to troubleshoot this issue. They will be able to assist you with your proxy settings. If your organization is running a network firewall, you will need your system administrator's assistance to configure your firewall to bypass blocked connections to MathWorks servers.
In order to connect to MathWorks for downloading, installation, or activation purposes, the MathWorks installer needs to contact MathWorks servers on the following ports and addresses:
The connection will be established over TCP ports 80 and 443. Your firewall needs to bypass blocked connections for both of these addresses over both of these 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 whitelist MathWorks servers via IP Address and will have to use the domain name.
If the MathWorks installer is still unable to connect after troubleshooting your proxy and firewall, submit a service request using the link below. Please include the troubleshooting steps you took to resolve the connection issue, and include your installation log file. See this related article if you need assistance locating your log file:
Where are the MATLAB installation log files located?
If you are getting a connection error while installing a Support Package, please refer to the following Article:
How do I download a Support Package if my network has a proxy?
For releases prior to R2014a, if you are unable to connect automatically, and are unable to troubleshoot the connection issue, you can manually download you products. Please refer to the following article for detailed directions on manually downloading product installation files for releases R2013b and earlier.
How do I manually download MATLAB
For instructions on how to install/activate manually, see the MATLAB Installation Guide here:
For Students, you can use the article below to activate manually.
How can I activate MATLAB Student Version on a computer without internet access?
Please contact MathWorks Technical Support and create a help ticket if you run into any other related issues.
When I received this error, it was not due to proxy settings or firewall settings. Rather, when I downloaded the installer, the download location was on a remote drive (a windows remote profile DFS location). I copied the setup file to the local drive, and it ran fine.
I had the same problem and followed all instructions above about filling in proxy-server information and deactivating the firewall etc. but nothing worked. Turned out all I needed to do was uncheck the box which indicates to use a proxy server. It is as mentioned in other links found in Control Panel/Internet Options/Connections/Lan Settings.
I turned off my firewall and I still can't connect to Mathworks.
On a Mac (running 10.10 [Yosemite]) I still needed to temporarily disable the Firewall (under System Preferences > Security & Privacy) in order to complete activation.
Had the same problem on my Mac and I have never had a problem like this on a Mac since I have used them. (Probably more than 8 years.) My laptop did not have the firewall turned on at all during all attempts. So this is probably just badly written software from Mathworks. What worked for me is to use my hotspot. That is all I changed - connect to my Karma hotspot and click "Next" again. Done. Note that I first did the same after connecting to my iPhone as a hotspot and that did not work. (Just clicked "next" and got the same error message.) However, that could have been that my phone was having a connection issue.
Mathworks- please look into this issue and fix it. The software should not require special proxy settings.
This is what I did to successfully install Matlab (Home Use) on my Windows 7 x64 SP1 system. Note that I do not know which one of the following things helped to make things work; I just did all of them. Also note that I am not using a proxy server, if you are, this will probably not help you.
1. Turned off internet router and then turned it back on.
2. Restarted the PC in Safe Mode.
3. If applicable to you: The installation file was on hard drive volume D:\ and I moved it to C:\
4. From control panel->administrative tools->Services, I right-clicked "Windows Firewall" and selected "Stop".
5. I ran the Matlab installation file from c:\.
6. When the installation screen came up, I did not click on the button at the top right of the dialog. Instead, I clicked the "next" button at the bottom. (Of course, I am not using a proxy server.)
7. A dialog appears to enter your login credentials: do that and the installation will continue.
8. The installation will eventually complete and then you can activate it by following the on-screen directions.
9. I restarted the system normally and verified that Matlab was working.
(Hopefully, I did not leave anything out.)
I had this problem as well, but I found that it was because my internet connection was too slow. So it only worked when I used a faster connection. Beware that the downloads during installation are rather large files, including the toolbox add-ons. Hope this information can be of help to others.
Hi there, I am using a Window's 10 on my pc. Not a part of any organizations. As far as I can tell I am not using a proxy server and I tried installing MATLAB with my firewall turned off as an administrator. I am still encountering the connection error. Any help in the matter would be greatly appreciated. Thnks
Turn off the Wifi of the institution you are in, then turn on Mobile hotspot on your phone to share the mobile connection (if you have 3G or 4G). You will pass the first steps and it will start downloading. When it starts downloading, switch to the wifi. It worked for me.
Error : unable to connect to host. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Windows 7 64-bit. What am I doing wrong?
I am trying to install Matlab 2018b on a Win10 64bit System, getting the following error:
"Error : unable to connect to host. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
Any instructions how to handle this problem? Thanks in advance.
Internet security software designed to block certain IP ranges such as PeerBlock have MathWorks black listed in the default block-list.
Just set the blocked IP to "allow permanently" to let the installer connect and download your license details, software and associated toolboxes.
I've also tried all of these tips, but activation via my account here doesn't work. So I tried using the File Installation Key process, but I always get the following error message: "Using a File Installation Key requires you run the installer from a MATLAB DVD or from a directory which contains files previously downloaded via the installer. To obtain the missing files, click Back on the previous screen and select Log in with a MathWorks Account or contact your MATLAB license administrator." I did get the licence code file and all. Any ideas? I need the software for a Coursera MOOC about Computational Neuroscience. Thanks in advance!
Right. I have restarted the process multiple times! I've checked all the suggested settings and turned off windows firewall, but every time I get to the 'select license' page having logged in, it stops me from proceeding even though it clearly is connected as it got the details in the first place!
and it blocks me from doing the license file thing, saying 'no products exist for this license' even though I activated it for 2014a
HELP, I HAVE COURSEWORK DUE
Charles, i'm in the same position as you. I have coursework due tomorrow and this is quite a headache!
I just came across this same error. At first, I assumed it was because I was installing on a Windows XP system. When I discovered that Win XP was still supported for 2015a, I decided to troubleshoot further.
My resolution: The system could not communicate with the MatLab servers because the Date/Time on the system was inaccurate. - Setting the systems Date/Time correctly resolved the issue.
The setup program was trying to go to the IP address of the mathworks site instead of DNS name. Had to add https://18.104.22.168 and https://22.214.171.124 to the firewall.
It is unclear to me why MathWorks would use fixed IP addresses instead of DNS. Please fix this issue.
I recently faced the same issue on my Mac. It wasn't because I was using a network proxy (per se) or that the I had OSX's firewall turned on.
Eventually I worked out that it was because of Kaspersky Internet Security. So I temporarily disabled that which then allowed the installer to work.
I have a problem with the process. I need log in with MathWorks account. The messenge is " The application could not connect to MathWorks. For more information on resolving this issue, see this Support Article" Please help me.
The following error was detected while downloading 3p/icu_win64_1438296709.enc: null Would you like to retry downloading 3p/icu_win64_1438296709.enc? If you press No, the installer will exit without completing the installation. Hepl please I got this error and it keeps on poping when trying to download?????
I have got the same issue here and no idea what I should fill in on Server and Port.
I am attempting to install MatLab for the QUT Robotics course. I have downloaded the files but I cant install anything. It says it cant connect to Mathworks. In the Connection Settings box it is asking for information I dont know. It says I can leave it blank, but does not work that way either. I can't submit a Ticket as I have no License Number. I am on a home computer with a wireless modem. I have a Mathworks account. How do I install this program as nothing seems to work and I need to start this course now?
プロキシサーバー認証の画面にユーザーとパスワードを入れて下記のエラーメッセージがありました。 「アプリケーションは MathWorks に接続できませんでした」
الرساله دي بتظهلي لما اعمل activation <The application could not connect to MathWorks. For more information on resolving this issue>
Dear Sirs The best answer for installing Matlab in Windows 10 was done by Dalan3r on 28 Sep 2016. Thank you Dalan3r!
The buttons on the window "Mathworks Software Activation" are even broken now. All that work for nothing. Why are there always major issues with installations from Mathworks?
I had this issue and it was not related to any network or connection. It was caused by a Malware I had in my PC called relevantknowledge. I uninstall it and it worked.
This is so annoying! Every six months it is a massive struggle just to download the latest update. It seems overkill that it is so protected!! Please mathworks do something about this.
Anyone has a way of dealing with this problem beside asking for tech support?