I am trying to access PhpMyAdmin on my browser through an SSH tunnel on mac OS high sierra for setting up AWS Lightsail. I've downloaded my default SSH key pair and have adjusted permissions using
chmod 600 KEYNAME.PEM
I've tried ports 80 and 81 and have tried using port 1025. I do not get any errors in Terminal, but when launching via the URL: http://127.0.0.1:8888/phpmyadmin as suggested in Bitnami docs (with port adjusted to 1025 if 1025 is running), I get the error: "This site can’t be reached 127.0.0.1 refused to connect." and in Terminal: "channel 2: open failed: connect failed: Connection refused channel 3: open failed: connect failed: Connection refused channel 2: open failed: connect failed: Connection refused channel 3: open failed: connect failed: Connection refused channel 2: open failed: connect failed: Connection refused channel 3: open failed: connect failed: Connection refused"
I'm using Google Chrome, 64-bit. I've tried turning firewall off, as well.
Any suggestions would be greatly appreciated! I'm new at this. Thank you!
ssh -i ./yourfile.pem -N -L 8888:127.0.0.1:80 bitnami@YOUR_IP
. Let us know if that works – Jota Martosssh -i ./yourfile.pem -N -L 8899:127.0.0.1:80 bitnami@YOUR_IP
and access phpMyAdmin using 127.0.0.1:8899/phpmyadmin in the browser? – Jota Martos