matlab web app server 페이지 배포(deployment)

1 view (last 30 days)
안녕하세요.
매트랩 어플리케이션(.mlapp 파일)을 만든 후에 Matlab web app server로 배포할 생각을 갖고 있습니다.
Matlab web app server을 통해 배포 했지만 이는 같은 네트워크 내에서만 배포가 가능하다는 것을 알았습니다.
이것을 모든 인터넷 사용자가 이용할 수 있도록 URL주소로 배포하고 싶은데 방법이 없을까요?
Hello.
I'm thinking of creating a Matlab application (.mlapp file) and distributing it to Matlab web app server.
We deployed it through Matlab web app server, but found that it could only be deployed within the same network.
Is there any way to distribute this to the URL address so that all Internet users can use it?

Accepted Answer

Suresh Balakrishnama
Suresh Balakrishnama on 19 Oct 2022
On the internet use case, yes, we currently only recommend for Intranet but there is no license or technical limitation if you want to make the web apps for internet users. We are actively working to officially support web apps for internet use case.
  • In your scenario, it potentially looks like a case where the port number that MATLAB Web App Server is listening (default the port is 9988) is not open to accept incoming requests. You may want to reach out to your company’s IT department to open up the port – this may require some elevated permissions.
  • To resolve this, you will need to configure your machine's firewall to allow incoming connections to the Web App Server's port. First, obtain the port that your server is using. This will be set to 9988 by default, but you can obtain this port number by running webapps-config get command-line script outlined in the following MathWorks documentation: https://www.mathworks.com/help/webappserver/ref/webappsconfig.html
  • Windows OS: please refer to the following Microsoft documentation for instructions on how to allow incoming connections to a specific port through your machine's firewall:https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-firewall/create-an-inbound-port-rule
  • For Linux OS server: https://www.journaldev.com/34113/opening-a-port-on-linuxConfigure the firewall to allow incoming connections on the server's port and you should then be able to access the web apps from other computers in the network.
Again, we recommend that you consult your IT team before opening up the web app server to allow all internet users accessing your web app.

More Answers (0)

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!