MATLAB Answers

0

does the Matlab web app work over different local network?

abdulrahman al-sabaawi さんによって質問されました 2019 年 8 月 10 日
最新アクティビティ Kojiro Saito
さんによって 回答されました 2019 年 8 月 14 日
Hello everyone
I have designed a Matlab web app using the MATLABWebAppServer.. when I share the URL of the app to another computer that is connected the same internet network (the same router), it works properly on the browser, but when I change the network of one of the computers to another network (different router), that lead to terminate the connection and the browser give me a message of can not reach the site which mean can not play the app on the browser. is that mean the MATLABWebAppServer does not support connection over different networks?
I found this sentnece in the following link but I didnt understand it.
"Web apps are designed to run only within a trusted intranet environment, not in the open Internet" https://www.mathworks.com/help/compiler/web-apps.html?fbclid=IwAR3RnnwynsrrQzH43-cZbzxh77WWndDlk5KYCYTO7tn9OUeOjj75vN9pCKY

  0 件のコメント

サインイン to comment.

製品


リリース

R2018a

1 件の回答

Kojiro Saito
Answer by Kojiro Saito on 14 Aug 2019

>MATLABWebAppServer does not support connection over different networks?
No, Web Apps Server does support connection even if client machines are in different networks from that of Web Apps Server machine's network.
There might be two reasons why you cannot access Web Apps from a different network.
1. Host name is not resolved.
Inside the same network, client machine can access to the server with just a short host name (for example,
But from different networks, short host name might not be resolved.
Could you confirm you can reach to the server from the different network by
>ping MACHINENAME
from Command Prompt or Terminal.
If short name cannot be resolved, try adding FQDN or using IP address.
such as,
local IP address (http://192.168.X.X:9988)
Please replace SERVERNAME, yourcompany.com, 192.168.X.X with your actual hostname, FQDN and IP address.
2. TCP port number is blocked by Firewall
Web Apps Server uses a TCP port (9988, by default). You need to make it clear whether this port number is open
in Windows Firewall, Linux iptables or hardware firewalls.
If not, you need to open that TCP port in order to allow incoming access.

  0 件のコメント

サインイン to comment.



Translated by