Page 1 of 1

Can't access mysql-based sites

PostPosted: 12. June 2013 21:14
by sbcs
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!

Re: Can't access mysql-based sites

PostPosted: 12. June 2013 21:55
by Altrea
One of the many many many third party script (wordpress) base url / port configuration issues.
search for wordpress port 8080 in google or the search engine you trust

Re: Can't access mysql-based sites

PostPosted: 13. June 2013 15:06
by sbcs
OK--thanks. Everything I'd read during the IIS installation said I'd have to change the port in conflicting programs (like XAMPP). What I've now found is that it's WAY easier to change the port in IIS, leave it at 80 in Apache and everything works.