I have a Linux server on an ADSL connection, and I just noticed that sometimes I get
Connecting to example.com|xxx.xxx.xxx.122|:80... connected.
HTTP request sent, awaiting response...
when I use wget
or e.g. a browser like firefox.
In the case of wget
pressing CTRL-C and then try again "solves the problem", and in the case of firefox, reloading the page also makes the page load.
It seams to be random when it happens. I have tried to change the DNS to Google's DNS, but I still get the same problems there.
Question
How do I debug something like that, so I can find the source of the problem or perhaps a pattern?