I have a rails app running locally on port 3000.
From an app on Vagrant:
Requests::post( 'http://0.0.0.0:3000', $header, $payload ); Response:
'Cannot connect to host' Note that when I run the same code out of the context of Vagrant, it works perfectly. Note also that Vagrant has no problem POSTing to a version of the same rails app when it is not hosted locally.