1 Answer
- Newest
- Most votes
- Most comments
0
Your problem is with http host headers. By using http://localhost your sending the GET message to the S3 endpoint but during the http conversation your asking for the website called localhost
To have it work on your machine create an entry in your host file to match the FQDN of your website (same name you use to access from Bastion) bucket and set it’s IP address to 127.0.0.1
Then from your PC after the ssh tunnel is up, try and access the website using the FQDN. It will resolve to your loop back and tunnel it via ssh and it should All work.
Relevant content
- Accepted Answerasked 6 months ago
- Accepted Answerasked 10 months ago
- Accepted Answerasked 8 months ago
- asked 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago