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.