Matlab web app server issue
22 views (last 30 days)
Show older comments
Hello,
I have designed an app using appdesigner, but when I compile it as a web app, this error appears:
How can I get a server url that is working to deploy to? I have matlab runtime installed.
The development version of the web app server provides a link as localhost:9988, which can not be shared with others.
Can you please help on how to publish it on a working web server provided by mathworks?
Thank you.
regards,
Mohanad
0 Comments
Answers (2)
Pranjal Saxena
on 25 Jul 2023
Hi Mohanad,
I understand that you are facing an issue with the web app.
The "URL not found" error maybe due to some sort of improper HTTPS configuration.
Please see the following links for how to properly enable a secure connection to your MPS.
Here is the main documentation page for configuring HTTPS connections to MPS:
Please follow the guidance given in the following two links given in the "Topics" section of the main page:
Enable HTTPS:
Configure Client Authentication:
I hope this helps you.
Warm Regards,
Pranjal.
Himanshu
on 28 Aug 2023
Hello Mohanad,
I understand that you are facing an issue while trying to deploy your MATLAB App Designer app as a web app, and you are encountering an error related to the server URL.
The error occurs because MATLAB's web app server is set to run on "localhost:9988", which is a local address that cannot be accessed by others.
To resolve this issue and deploy your app successfully, you can follow these steps:
- Use the MATLAB Compiler to package your App Designer app for deployment. This creates a standalone package that can be deployed on a server.
- Deploy the packaged app on a server using MATLAB Web App Server, which is designed for hosting and sharing MATLAB web apps.
- Acquire a license for MATLAB Web App Server through MathWorks. This license is necessary to deploy your app on the server.
- Configure the server settings, including the hostname, port, and other parameters. Then, publish your packaged app on the server.
- Once the app is deployed, you will receive a URL that can be shared with others. This URL will provide access to your app through a web browser.
You can refer to the below documentation to learn more about MATLAB Web App Server, Guide to Deploy Web App and MATLAB Compiler.
0 Comments
See Also
Categories
Find more on Web Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!