localstack / localstack-demo

Simple demo application deployed using LocalStack
https://docs.localstack.cloud/getting-started/quickstart/
61 stars 33 forks source link

Override host to fix IPv6 resolution on mac #45

Closed homeyer closed 1 year ago

homeyer commented 1 year ago

The localstack quickstart tutorial fails on latest mac (osx 13.1) due to the default resolution of localhost using IPv6. Serverless is expecting to find localstack running at ::1 (localhost on IPv6), when it's running at 127.0.0.1 (localhost on IPv4). This is the error you see: https://github.com/localstack/serverless-localstack/issues/125

This forces serverless to connect using IPv4.