简体   繁体   中英

AWS Cloud 9 running 2 servers autodesk forge project

I am working on an autodesk forge project from this repository : https://github.com/Autodesk-Forge/forge-dataviz-iot-reference-app that I need to run on my cloud 9 environment. For this project, I have 2 servers to run so it has to be different PORT, that is why I have te first server in localhost:8080 and the second on localhost:8081 that I've changed on shared/config/Siteconfig for localDev. The issue is that cloud 9 has his own localhost adresses and PORT so it gives me a connection error :

GET https://172.31.27.84:8081/dist/main.bundle.css net::ERR_CONNECTION_RESET

GET https://172.31.27.84:8081/dist/bundle.js net::ERR_CONNECTION_RESET

thank you for your answers

The reference app is meant to showcase the different features of the Data Visualization Extensions when running locally. It's not designed to be deployable to different cloud hosting providers. I would suggest that you only use https://github.com/Autodesk-Forge/forge-dataviz-iot-reference-app as a (well) reference :) and add the Data Viz extensions to your own Forge application which will run on a single port.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM