-
Notifications
You must be signed in to change notification settings - Fork 75
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
express-example, is nodejs running? #45
Comments
I also tried to bridge it: Created instance: node-express-example dial unix /Users/captest/.capstan/instances/vbox/node-express-example/node-express-example.sock: no such file or directory I tried to start it from virtualbox manager with NAT and got: NamedPipe#0 failed to bind to local socket /Users/captest/.capstan/instances/vbox/node-express-example/node-express-example.sock (VERR_FILE_NOT_FOUND). My environment: OSX 10.9.5. Virtualbox: 4.3.30 r101610, Capstan v0.1.8 |
I can run osv in virtualbox following this instruction with vboxnet0: https://github.com/cloudius-systems/osv/wiki/Running-OSv-on-VirtualBox But not express-example with vboxnet0. |
Now I have tried node-express: web-service and hello-world and also node-red (https://github.com/node-red/node-red.git). With capstan I built, run stopped, changed permissions and started with virtualbox so I could access it from another virtual machine in virtual box or parallells. First I got: I deactivated Port 1 under Settings -> Ports. The settings was: Configured each instances net: Only Host card: vboxnet0 (virtio-net). Started osv and it runs on 192.168.56.105 Started a Ubuntu VB also with only host card: vboxnet0 (virtio-net). Tested to access: http://192.168.56.105:8000/ from the Ubuntu instance. Worked as expected! Tested to access: http://192.168.56.105:3000 and http://192.168.56.105:3000/api (web-service example) Did not work. No other worked either. How can I debug to see if node is running? Is there some way to do a console output? |
I run:
sudo capstan run
Created instance: node-express-example
OSv v0.23
eth0: 10.0.2.15
Waiting for connection from host...
I noted that the eth0 interface does not use any of my IP addresses and localhost:3000 does not give any response.
How do I change so that vbox uses localhost?
The text was updated successfully, but these errors were encountered: