amazon-web-servicesbitnami

Bitnami: For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname


could not access phpmyadmin : http://ip/phpmyadmin

it is showing “For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.”

Please suggest me to solve this problem.


Solution

  • Bitnami Engineer here,

    For security reasons, phpMyAdmin is accessible only when using 127.0.0.1 as the hostname. To access it from a remote system, you must create an SSH tunnel that routes requests to the Web server from 127.0.0.1. This implies that you must be able to connect to your server over SSH in order to access these applications remotely.

    ssh -N -L 8888:127.0.0.1:80 -i KEYFILE bitnami@SERVER-IP
    

    and then use http://localhost:8888/phpmyadmin in the browser.

    You can learn more about this in our documentation

    https://docs.bitnami.com/aws/apps/wordpress/get-started/access-phpmyadmin/