Search code examples
cloud-foundryvmc

VCAP ROUTER: 404 - DESTINATION NOT FOUND


I have some problem with my single node cloudfoundry which I installed in Virturalbox (Ubuntu 11.10 server version)

I installed cloudfoundry successfully and push my first app written in ruby up to the cloudfoundry

when I check vmc apps I can see my app "RUNNING" but when I try to connect from outside (HOST OS)

I put 192.168.11.51 in my browser's url (which is my vm's ip address) and it only shows

VCAP ROUTER: 404 - DESTINATION NOT FOUND

Does anyone know what's going on?


Solution

  • I suspect this is a problem with dns. To know which app to route requests to, CF needs to look at the Host: header basically.

    So what you should do is make sure that the external IP of your VM is known as *.vcap.me