
How to setup an SSH tunnel to access phpMyAdmin on Google Compute Engine
by bernt & torsten
The other day I was working on Google Compute Engine, and I set up a new WordPress site on the Google Compute Engine. I run into an issue with phpMyAdmin as it gave me a warning when I tried to access it through the web browser, the message “For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname”
The Google Compute Engine is using bitmani to deploy apps into the cloud, so when I selected the WordPress installation in Google Compute Engine, I used the bitmani wiki to find answers about how to use phpMyAdmin.
What I had to do was to set up an SSH tunnel
ssh -N -p 22 <username>@<ip address server> -L 8888/localhost/80
You could also use programs as putty or other similar applications to make this happen.
After you open the SSH tunnel you access the PHPMyAdmin in your browser like this – 127.0.0.1:8888/phpmyadmin
Some other useful article on How to ssh tunnels for secure network access

Tech Disillusionment
For four decades, I have worked in the tech industry. I started in the 1980s when computing...

A Poem: The Consultant's Message
On a Friday, cold and gray,
The message came, sharp as steel,
Not from those we...

Using AI to Plan Wall Repair and Gutter Installation
In this article, I will share my experience using AI to plan the work required to fix a wall...