I am going through this docker tutorial in order to get my electrode app working in a VM.
When I run node server.js
in the VM it logs a message indicating the Hapi server is running:
Hapi.js server running at http://10cc6b467731:3000
However, when I try to navigate to http://10cc6b467731:3000
in my browser I am unable to access the app.
My initial thought was that the port forwarding is messed up. I went into my VirtualBox configs for this VM, but it still does not work:
I also included port forwarding in my docker-compose.yml
file, but to no avail:
chat:
build: .
ports:
- '3000:3000'
volumes:
- .:/home/app/chat
- /home/app/chat/node_modules
Now I am questioning if this is even a port forwarding issue at all. I am new to Docker and configuring VM's so I am not sure what direction to go in to continue troubleshooting this. What steps can I perform to confirm this is a port forwarding issue?
via chopper draw lion4
No comments:
Post a Comment