I was running into this problem when using Vagrant 1.7.1 running a Ubuntu 14.04 box under Virtual Box 4.3.30 on Windows 7. I tried suggestions above and nothing worked for me. I found this post over here that was related to the Curl error I was getting when trying to run: curl $NVM_NODEJS_ORG_MIRROR
The error was: curl: (7) Couldn't connect to server
I was able to follow a suggestion on that post and then once I restarted my Vagrant box with a vagrant reload
I was able to run nvm ls-remote
and see a list of versions of node and install. Here is what I did on the vagrant box: cd /etc/
sudo nano hosts
changed 127.0.0.1 localhost
to:
0.0.0.0 localhost
Hope this helps anyone with the same issue. Thanks@ Truong Nguyen