Steps taken:
- Installed Debian Buster and Wordpress (Aws Lightsail own version).
- Firewall restrict http and https access to only 127.0.0.1
- Setup Putty tunnel with SSH port 22 (privatekey)
- Putty SSH Tunnel Source port:9999 and Dynamic
- Enter http://127.0.0.1:9999/ in chrome (Windows 10). Answer: 127.0.0.1 refused to connect.
Access direct to IP by internet works if I open firewall. But not by tunnel.
How do I proceed?