New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to expose and run Node.js app / No Documentation #1727
Comments
+1. I facing the same problem. Trying to expose 3000 or add port 3000:3000 on workspace container but no luck, localhost:3000 still returns 'this site can't be reached'. |
The workspace is not suitable for running the node.js program, but I can add it if needed. |
see: #1821 |
I changed the port to 3003 and rebuilt the workspace container, it helped me |
@Denis00211 and @zuohuadong ... can u please advice...? |
@llioor Need more clarifications, please.
|
@ezra-obiwale Hi Ezra... I'll be happy to help you.
Basically u need to change in the "devServer" setting this:
|
And how to add this to a running dockerized apache o nginx? |
same question for laradock please. |
Hi 👋 this issue has been automatically marked as |
Hi again 👋 we would like to inform you that this issue has been automatically |
Info:
$ docker --version
): 18.03.1-ce, build 9ee9f40$ git rev-parse HEAD
): 85c57a0Issue:
No documentation to access running nodejs app in local machine browser
Expected behavior:
There are explanation or guide in official laradock documentation to run (maybe expose a port) nodejs app.
Reproduce:
run any nodejs app server via
npm run dev
oryarn dev
command. And It must be cannot be accessed in localhost:3000 / 0.0.0.0:3000 / {docker-host}:3000Relevant Code:
The text was updated successfully, but these errors were encountered: