I'm trying to install some gems on an Ubuntu VM on OS X Lion using VirtualBox. I've narrowed my problem down to curl which is not responding at all. It seems to be going through some proxy local host thing. Does anyone know how to get this working? I really am clueless to this kind of thing. It times out after this output:

quickstart@qs10:~$ curl -v http://www.google.com
* About to connect() to proxy localhost port 3128 (#0)
*   Trying connected
* Connected to localhost ( port 3128 (#0)
> GET http://www.google.com HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/ libidn/1.18
> Host: www.google.com
> Accept: */*
> Proxy-Connection: Keep-Alive

I can ping google and wget does kinda the same thing...

  • What are your network settings in Ubuntu? More importantly: How is networking set up in VirtualBox? Can you connect to anything else using a browser?
    – slhck
    Commented Jul 25, 2011 at 11:22
  • Can you ping google.com? Considered trying wget?
    – nopcorn
    Commented Jul 25, 2011 at 13:11
  • Thanks for your prompt answers. I edited my message with some more info.
    – Rimian
    Commented Jul 26, 2011 at 2:25
  • @slhck I tried using various network settings on Virtual box. Nothing seemed to work. I am using Bridges Adapter at the moment.
    – Rimian
    Commented Jul 26, 2011 at 2:26


You must log in to answer this question.

Browse other questions tagged .