Have finally found a solution to this topic?
I am currently facing the same issue with connecting to phpmyadmin after opening an ssh tunnel.
When I check the log of puTTy, it says the following:
2017-10-19 09:01:53 Opening session as main channel
2017-10-19 09:01:53 Local port 8888 forwarding to localhost:80
2017-10-19 09:01:54 Allocated pty (ospeed 38400bps, ispeed 38400bps)
2017-10-19 09:01:54 Started a shell/command
Then I try to access: https://127.0.0.1/phpmyadmin
and get the error: ERR_CONNECTION_REFUSED
Can you please help?
Thanks in advance