MATLAB Internet Connection Issue via College Proxy - "Failed!" Error
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear MathWorks Support,
I am experiencing difficulties connecting MATLAB to the internet through my college's proxy server. I have configured the proxy settings in MATLAB's Preferences (Home -> Preferences -> MATLAB -> Web) as follows:
- Proxy host: 172.31.100.25
- Proxy port: 3128
- Use a proxy with authentication: Yes
- Proxy username: edcguest
- Proxy password: edcguest
When I click the "Test connection" button, I receive the "Failed!" message.
I have verified the following:
- The proxy host, port, username, and password are correct (provided by my college's IT department).
- My general internet connection is working outside of MATLAB.
- I have tried temporarily disabling my firewall and antivirus software.
- I have tried using the weboptions command with the same proxy credentials, and that also fails.
My MATLAB version is: R2024b. My operating system is: Windows 11 Pro.
I have also tried the following troubleshooting steps:
- Double-checking for typos in the proxy settings.
- Confirming the proxy server's status with my college's IT department.
- Ensuring my system clock is accurate.
Could you please provide guidance on how to resolve this issue? I suspect there might be a specific configuration requirement related to my college's proxy setup that I am missing.
Any assistance you can provide would be greatly appreciated.
Thank you for your time and support.
Sincerely,
Avichal Singh
avichal.2023dn07@mnnit.ac.in
0 Kommentare
Antworten (1)
Umeshraja
am 18 Mai 2025
Hi @AVICHAL
I understand that you are having trouble connecting MATLAB to the internet through your college proxy.
MATLAB uses the Chromium Embedded Framework (CEF) browser. Any connection request from browsers other than the typically installed browser on your computer may be blocked by your IT.
Please run the following commands in the MATLAB command window
>> cd (fullfile (matlabroot, 'bin/win64'))
!MATLABWindow.exe -url=about:blank --v=1 --log-severity=verbose
When you run these commands the CEF opens with a blank page. If you see the blank page then it confirms CEF is functioning as expected.
Next, close the blank window and run the following command in MATLAB Command Window. It will try to access the MathWorks.com homepage.
!MATLABWindow.exe -url=mathworks.com --v=1 --log-severity=verbose
If you get an error such as error 403, check with your IT team if a connection was blocked from your computer.
Hope this solves your query!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Printing and Saving finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!