Bug: Cant Connect to a database behind a SSL tunnel in my machine using `sam local start-api`
Open
stage/needs-triage
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
# Description
I'm trying to connect to a external database that is outside an SSL tunnel with a .pem file. The tunnel is in my local machine in the port (for example 27001) . The docker container cant acces to the port of my machine. I tried to set the container in the host network using host.docker.internal but it doesnt work... I'm using Manjaro Linux.
## Steps to reproduce
I tried to:
- Create a custom dockerfile with the port binding
- Bind the host network to the sam local start-api command and use host.docker.internal
Im Using:
Os: Manjaro linux
sam version: 1.127.0
None of these works
Contributor guide
Assessment
This issue has not been assessed yet.