I have various applications and single scripts that is running successufully in XAMPP – simple schema root folder(htdocs) == http://localhost/ or just localhost/
I have downloaded some WordPress site and moved it into apropriate folder: it was http://www.example.com/blog and I have moved it into htdocs/blog. I was doing all right (files and folders recursive search and replace, searchandreplacedb2.php routine) and result was:
typed: http://localhost/blog/
got: http://www.localhost.com/blog/
with Firefox notice :
The connection was reset
The connection to the server was reset while the page was loading.
Notices:
1. I have tried with removing existing .htaccess,
2. recursive search&replace wordpress files did not had any case www.example.com/blog/ with localhost/blog (it usually have).
What about adding this lines to your .htaccess
Also, check your database. You might have the wrong URL in some tables.
Cheers