Is it possible to run the experience builder server on different ports, by specifying different values for the port and https port..?
Solved! Go to Solution.
In server/package.json, modify scripts/start to:
"cross-env EXB_HTTP_PORT=xxxx EXB_HTTPS_PORT=xxxx NODE_ENV=production node src/server"
In server/package.json, modify scripts/start to:
"cross-env EXB_HTTP_PORT=xxxx EXB_HTTPS_PORT=xxxx NODE_ENV=production node src/server"
I have not succeeded by Gurunara suggestion, but I succeeded by following the tip in ArcGIS Experience Builder install in mid-page:
In the Portal App for EXB, add url with the <client-port-number>
In server folder, do: npm start -- --port <server-port-number> --https_port <client-port-number>
and in client folder, just do: npm start
In the browser, go to: https://localhost:<client-port-number>
I am getting Error: listen EACCES: permission denied 0.0.0.0:4001