I'm simply trying to clone a repository from github, but I think my problem spans greater than git or github. I've tried the following methods:

> 
> **sudo wget '<http://github.com/symfony/symfony/tarball/master>**
> 
> 
> 

```
--2010-07-30 07:51:36--  'http://github.com/symfony/symfony/tarball/master
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

--2010-07-30 07:51:38--  (try: 2)  'http://github.com/symfony/symfony/tarball/master
Connecting to github.com|207.97.227.239|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

--2010-07-30 07:51:40--  (try: 3)  'http://github.com/symfony/symfony/tarball/master
Connecting to github.com|207.97.227.239|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

```

Since wget wasn't working, I figured I'd try using git (knowing that my firewall was probably blocking the *git* protocol). As you can see, it looks like the firewall did block it.

> 
> **sudo git clone git://github.com/symfony/symfony.git**
> 
> 
> 

```
Initialized empty Git repository in /home/myname/symfony/.git/

github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)

```

Since, the *git* protocol didn't work I figured I'd try the *http* method.

> 
> **sudo git clone '<http://github.com/symfony/symfony.git>**
> 
> 
> 

```
Initialized empty Git repository in /home/myname/symfony/.git/
error:  while accessing 'http://github.com/symfony/symfony.git/info/refs

fatal: HTTP request failed

```

So I figured I'd try another method of getting a file from the internet, but to no avail.

> 
> **sudo curl www.google.com**
> 
> 
> 

```
curl: (56) Failure when receiving data from the peer
```

So then I tried pinging just to make sure that I see the outside world, and it works!

> 
> **ping www.google.com**
> 
> 
> 

```
PING www.l.google.com (74.125.91.104) 56(84) bytes of data.
64 bytes from qy-in-f104.1e100.net (74.125.91.104): icmp_seq=1 ttl=49 time=46.4 ms
64 bytes from qy-in-f104.1e100.net (74.125.91.104): icmp_seq=2 ttl=49 time=46.5 ms
64 bytes from qy-in-f104.1e100.net (74.125.91.104): icmp_seq=3 ttl=49 time=46.5 ms

--- www.l.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 46.477/46.499/46.512/0.176 ms

```

**apt-get install** works successfully. Does *apt-get* use a different protocol other than *http* or does it use different ports other than 80?

I should mention that I'm using a VMware installation of Kubuntu 10.04. Has anyone ever encountered a problem like this? What other methods could you think of to narrow down where the problem is coming from?

**Note:** *I had to add a single quote (') before each hyperlink in this post since I don't have enough rep.*

***@uloBasEI***
What was returned is below (minus the HTML of google's homepage)

```
HTTP/1.0 200 OK
Date: Fri, 30 Jul 2010 16:13:45 GMT
Expires: -1
Cache-Control: private, max-age=0
Content-Type: text/html; charset=ISO-8859-1
Set-Cookie: PREF=ID=217dc6a999f1ffaf:TM=1280506425:LM=1280506425:S=gnL_tcT4FJLh9Cgh; expires=Sun, 29-Jul-2012 16:13:45 GMT; path=/; domain=.google.com
Set-Cookie: NID=37=fIVPDdQeoCyfwgmhtAGDf06le4T450U4v19oMdSBCQQDe67Ys5bHwMaGsnywEjUkGSk0Ex5BRGFDouO5Fsme0uARoU3uTNmeTzKfi4mq-L8jDOtcBTC88cCDg0DSpjBr; expires=Sat, 29-Jan-2011 16:13:45 GMT; path=/; domain=.google.com; HttpOnly
Server: gws
X-XSS-Protection: 1; mode=block
```