Keywords: General - AWS - Technical issue - Connectivity (SSH/FTP)
I created a tunnel with putty to connect to phpmyadmin with 127.0.0.1:8888/phpmyadmin, this works great. I’m able to access the page.
When trying to log in with root and my password found with cat bitnami_application_password I get the error “mysqli::real_connect(): (HY000/2002): Connection refused.”
When looking at my log under /opt/bitnami/apache2/logs it says “AH01630: client denied by server configuration: /opt/bitnami/phpmyadmin” and it looks like it is denied because it is using my external IP and not the tunnel.
I’m not sure if I’m doing something wrong. I tried to follow the instructions that was given from AWS lightsail documentation.