Closed lenient closed 5 years ago
Hey @lenient,
By default, the UI5 Tooling server only listens to connections from localhost. Since you are connecting to the server from outside the docker container, you need to pass the --accept-remote-connections
to the ui5 serve
command as documented here.
Try the following:
docker run -p 8080:8080 -v $(pwd):/var/www -w "/var/www" node npm start -- --accept-remote-connections
I'm using the command below to link my local source code into a container of docker,
docker run -p 8080:8080 -v $(pwd):/var/www -w "/var/www" node npm start
And it returns the following logs in the console,
But I cannot access the http://localhost:8080, it shows failed.
Any ideas?