R2025a web applications only works on the same network as the Web App Server and not on others networks

10 vues (au cours des 30 derniers jours)
I updated all the MATLAB products (development, application server and runtime) to R2025a version and set the same configurations as R2024b version.
Then, I packaged an application in R2025a version and put the '.ctf' file in the 'apps' directory of the corresponding R2025a version.
The application works perfectly when is accessed from a computer on the same network as the application server, but remains in loading state when is accessed from another network.
For example, suppose the application server IP is 10.20.30.40 with a published application R2025a. If I run the application from an IP like 10.20.30.45, it works perfectly, but if I run it from an IP like 10.20.50.15, it doesn't.
*Note: R2024b applications still works without any issues in the same environment.
Is there any additional configuration to do in the R2025a runtime configuration files that would fix this?

Réponses (1)

Meet
Meet le 24 Juin 2025
Hi Diego,
It seems you are encountering an issue where MATLAB Web App Server applications work within the same network but fail to load when accessed from different networks. This issue often arises due to network configurations or firewall settings. Here are a few troubleshooting steps you could try:
  • Make sure the port used by the MATLAB Web App Server (default is 9988) is open and accessible from outside your local network. On the client machines, try connecting to the server’s IP and port 9988. If the connection doesn’t go through, the port might be blocked by a firewall or router.
  • Verify that any firewalls on the server and any routers between the client and server allow traffic on port 9988. Also, ensure that port forwarding is correctly set up on the router to direct external requests on that port to the server’s internal IP address.
I hope this helps!!
  1 commentaire
Diego
Diego le 26 Juin 2025
Hello Meet! Thanks for your reply.
After several tests, I discovered that the problem was the web browser cache on computers that had already used the previous version of MATLAB web apps. I noticed this when using a browser that had never accessed these web applications.
So, the solution was to delete the browser cache data: files, images and cookies (browsing history does not need to be deleted). After doing this, all R2025a web applications worked perfectly.
Fortunately, I didn't have to make any changes to the network configuration or firewall settings.
¡Thanks again! Best regards.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Server Management dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by