Hey guys i'm new here, and I was having issues connecting to my apple tv.
I was getting one or two error codes depending on what I did.
To fix these errors, you need to figure out what is clogging port 80.
For me, I went to services > then I disabled Windows Process Activation, and then It popped up with some other things that also needed to be disabled.

MAKE SURE IT IS STOPPED
Then, mine worked fine :D :D
If that does not work, you can find whatever else is blocking port 80, in some cases, it is skype.
but you can see what is clogging it by going into command prompt > type: netstat -ao
after you should recieve a pretty long list of network ports, find what is blocking port 80
Here is an example:

In this case the PID is 4:

Now to identify which program that is, open up your task manager.
Scroll over to details, and search for that PID, then you need to find a way to PERMANENTLY stop that service.

-Holden