Support » Localhost Installs » Changing servers and database ports, problem to load WordPress

  • Resolved benherzliya


    I have a Bitnami WordPress Local installation (Windows 10). I’m now transitioning to MAMP. Bitnami’s Apache used to work on port 80, and MySQL on 3306. I gave these ports to MAMP and moved Bitnami to 90 and 3320.
    Now when I enter “http://localhost:90” in the browser I get to the Bitnami start screen. When I press ‘Access WordPress’ I am redirected to ‘http://localhost:90/wordpress/’ (makes sense). However, it shows there is an error; I get a warning:
    “Warning: mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. in C:\Bitnami\wordpress-4.8-0\apps\wordpress\htdocs\wp-includes\wp-db.php on line 1538”
    The title is: “Error establishing a database connection”.
    I assume WordPress is still set to work with the old ports. How can I solve this?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Changing servers and database ports, problem to load WordPress’ is closed to new replies.