I have a Windows Server 2010 VM running via Hyper-V. I can connect to individual gems with a web browser from within the VM, however when I run gem install for any gem, the connection times out with the error I've pasted below. The image is using a virtual switch - do you think this is causing the problem? I'm not sure how to troubleshoot this.
C:\Ruby193\bin>gem install rails -V
Error fetching remote data: Errno::ETIMEDOUT: A connection attempt f
ailed because the connected party did not properly respond after a period of tim
e, or established connection failed because connected host has failed to respond
. - connect(2) (http://rubygems.org/latest_specs.4.8.gz)
Falling back to local-only install
ERROR: Could not find a valid gem 'rails' (>= 0) in any repository
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: A connection attempt failed because the connected party di
d not properly respond after a period of time, or established connection failed
because connected host has failed to respond. - connect(2) (http://rubygems.org/
latest_specs.4.8.gz)