Matlab web app server issue
22 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Pranjal Saxena
2023-7-25
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
2023-8-28
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!