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:
For Login Named User (LNU) licenses, the following domain must also be allowed:
The connection will be established over TCP ports 80 and 443. Your firewall needs to permit connections to both of these addresses over both of these ports.
The MATLAB client itself uses the same ports for license validation.