Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8556175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:17:11+00:00 2026-06-11T15:17:11+00:00

I have a Windows Server 2010 VM running via Hyper-V. I can connect to

  • 0

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)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:17:13+00:00Added an answer on June 11, 2026 at 3:17 pm

    Perhaps what might be missing is the proxy configuration (considering you can browse to rubygems.org)

    You can use --http-proxy option in your gem install command or set HTTP_PROXY environment variable.

    First you will need to obtain the proxy configuration, which most likely is in your web browser.

    It should look like this:

    http://host:port/
    

    Or:

    http://username:password@host:port/
    

    You will need need to use it in gem install:

    gem install rails --http-proxy=http://host:port/
    

    Or you can avoid typing it everytime if you set it as environment variable:

    SET HTTP_PROXY=http://host:port/
    gem install rails
    

    You can see more details about this with gem help install documentation.

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have SQL Server 2010 running in windows auth mode and the proper groups
I have installed TFS 2010 on a new server (vmware running windows server 2008
I have a windows 2003 server (WEb edition) which has .net 3.5 sp1 installed
I'm using VS 2010 on Windows Server 2003, running on a Dell Inspiron 9400
Running VWD 2010 Express on a windows 7 machine. I have a asp:listview (on
I have a Visual Studio 2010 MVC2 web application that I'm building via the
I have a front-end apache server running in a windows server. The system is
I have an IHttpHandler which I'm running on an Windows Server 2008R2, and IIS
I am running windows server 2008 in vmware workstation and there I have installed
I have installed Visual Studio Team Foundation Server 2010 on Windows 7 Professional edition.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.