I had XAMPP running smoothly (Windows 7). I recently added IIS, forcing me to change the Apache port to 8080. Now I can access sites through localhost:8080 except for WordPress sites that are based on MySql--I get "Unable to connect with localhost" message in the browser.
I've verified that MySql is running, I can browse to localhost:8080/phpmyadmin OK, just not to sites. I've made sure IIS isn't running, disabled the firewall and anti-virus, and run the browser as administrator without success.
I notice that the browser shows a "connecting" message for awhile, after which the address in the address bar changes from (for example) localhost:8080/wordpress/ to just localhost/wordpress/ before showing a "Can't establish a connection with the server at localhost" message. Can anyone offer a clue as to what's going on? Thanks!