Matlab web app server

I have installed Matlab web app server succesfully and also Run my app on web.
But it can run on my laptop only when open home page is clicked. When I shared the link with my group member he was not able to open it .
I don't have SSl certificate and key so didn't used that option.
During registration in Matlab web app server I chosed first option of default and registered.
I want to share link with my Professor to expalin my app so that they can open my web app on their browser and see our work.
Please reply how can I do it.I have seen all related post on Matlab community help, but none of them helped me.I think in one of the post there was mentioned that it is because of potential risk that the app can't be deployed to open internet.But then it will be of no use for us.Running app online in browser of my laptop will not serve our purpose, we should be able to share link with our group member and professor so that they can open the web app in their browser and run this web app without installing MCR .Please reply how using URL link my app can be run by others on their computer.
I have attached screenshot of all processes I have done below

13 Comments

please Reply to above query I can upload ctf file for my app also if required.
also reply if it is possible with registring with existing local account and how to use this way of registration, after seeing help documentation still I am not able to get it.
Uploaded screenshot
please reply
Are you sharing your link with your hostname (http://HOSTNAME.DOMAIN.edu:9988), local IP address (such as http://172.18.10.5:9988) or local host (http://localhost:9988)?
I was sharing this link with ,my group member , which we get after opening home page.
It worked on my laptop only.
I didn't used IP address.Whether using IP addressit works?please reply
From other machines, localhost points to each machine and not to your machine.
One thing is using hostname. In Windows Commad Prompt or Linux Terminal,
hostname
returns your machine's hostname.
might work.
Be sure to open inbound TCP 9988 in Firewall.
regard,
open inbound TCP 9988 in Firewall.
I have seen online how to add inbound TCP.
Opened CMD in that typed "wf.msc"
added rule
alos asked my group memberr to do same .
But still not working ,please can you tell in some more detail ,long message
Sir, Please reply
how to share web app using URL,presently it only works on my system using Matlab web app server, I don't have domain name, and SSL .
Are there any way for doing this?, or should I leave it , and share standalone .exe file only with my professor.
Please reply,I did't got any reply from 2 days.
Did you read the comment from Lucy Yang?
From other machines, the URL should be http://HOSTNAME:9988 or http://IP_ADRESS:9988.
If a hostname of your machine is machine1 and local IP address is 172.18.10.10, it should be, http://machine1:9988 or http://172.18.10.10.
Yes I have gone through Lucy Yang comment, now it is working, I Used Local IP address.
But It works on same network only and I want it be open to my group member who is in other city and using his network,and also to my professor who are at their home and using their own network.So, I want URL that they can use.
IS it possible without SSL? beacuse I don't have SSL as I am a student.
Please reply
To do what you are trying to do, you need to change settings on your network (e.g Router) and enable Port forwarding. However this has security implications for your local network and if you don't know what you are doing, you may compromise the security of your local network.
@Mohammad sami
Thank you for reply regards Port forwarding may lead to security implications.But If I use my mobile internet to connect my laptop through wifi and then do Port forwarding ,will that will also lead to security implications.However I also don't know how to do Port forwarding.Can you help me with that.
So should I do it? , I am going to do this once or twice only ,i.e also for 5 to 10 min only,to just show our project work.
How to do this, can you please help, I will try by connecting mobile internet to my laptop ,so that router will not get affected, is it possible?, please reply.
Mohammad Sami
Mohammad Sami on 22 May 2021
Edited: Mohammad Sami on 22 May 2021
It is possible. However are you doing this demo in your university ? If you plug in your laptop to the university LAN it may be possible to do this without port forwarding. If your professor is on the same network as you.
For mobile internet, are you going to plug in a dongle to your laptop or you are going to use a wi-fi hotspot from your phone. I think the dongle solution will likely work. I don't know if you can do this on a share wi-fi hotspot.
You can also setup temporary port forwarding on your home router and then remove it after your demo is done. You will have to consult your routers manual on how to do port forwarding.

Sign in to comment.

Answers (0)

Categories

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

Products

Asked:

on 15 May 2021

Edited:

on 22 May 2021

Community Treasure Hunt

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

Start Hunting!