Overview
If you’re having trouble connecting your application to LocalStack, you’re likely running into a networking mismatch. This section helps you identify the right troubleshooting path based on where your code is running.
Networking Troubleshooting
Section titled “Networking Troubleshooting”Choose the scenario below that best describes your networking layout. Whether you’re running code on your host machine, in a container, or across multiple hosts, simply follow the corresponding guide to resolve common connection issues.
LocalStack only binds to IPv4 addresses (e.g. 127.0.0.1). Make sure you’re not trying to access LocalStack over IPv6.
For example, setting the endpoint_url parameter with an AWS SDK.
TLS certificates for localhost.localstack.cloud support only certain AWS regions. See TLS Certificate Coverage for details.
For example, you have a Lambda function that needs to access LocalStack resources.
Accessing a resource created by LocalStack
Section titled “Accessing a resource created by LocalStack”For example, you have created an OpenSearch cluster and are trying to access that resource by its URL.