I have success to build run Web server and mqtt-gateway-master on VM bot and can control my raspberry pi. These day I’m trying to turn the Web App to 5.1.0. I can done everything in my VM box, but when I try to use the Web APP I got this:
Enter the url below it show this:
But looking in the command window of mqtt broker, the Web app has success connect to the broker.
At first I think this may cause by my firewall setting. I change the default rules of my VM to ACCEPT and add exception of IP to AVG on my host computer. It doesn’t solve the problem. Using curl command in my host computer to GET the /webpack/bundle.js it stop at chunck 12, but in the VM it get got about more than 900.
Also find that some people solve the problem about dynamic page by upgrade the webpack version. I use the yarn to upgrade it. It still not slove.
Using the google chrome developer tools I think the problem is about the localhost.
Below is in my host:
And here is on VM:
Finding that the 13.js is under localhost. Is this this the problem why I can use the Web APP with out in the VM box? How can I solve this problem.
Appreciated for any response.