Getting android_x86 source code

I was trying to clone android x86 and got this error:

$ repo init -u -b froyo-x86
$ repo sync[0:]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)

I solved it just replacing “git://” by “http://” in the file:

$ vi .repo/manifest.xml

This guy got same issue:

Also replace the “korg” from git:// by git://