This looks like a wifi network error due to some radio interference or to some problem with the hardware. The connection refused error is probably the effect to some timeout that get triggered on after a (partially) failed attempt to establish a communication channel. This is why you sometime can see a part of the requested document.
I'm almost sure you are using a wireless router to allow the two device to communicate each other. Did you try a different router and/or a totally different place (a friend's house, for example)?