docs icon indicating copy to clipboard operation
docs copied to clipboard

Using `localhost` seems problematic

Open adesso-os opened this issue 3 years ago • 1 comments

I'm a new user, so maybe I missed something obvious. When I set up Localstack, I configured my AWS interaction to use http://localhost:4566 as the target and had a lot of connection issues, which send me looking in all the wrong directions for a solution.

At some point I realized that my setup is trying to connect to ::1:4566 and I though I might want to try explicit IPv4. I then changed my configuration to http://127.0.0.1:4566 and it worked.

Maybe my IPv6 setup, especially with regards to containers, is broken, but maybe it was never intended to work with IPv6 in the first place and the localhost usage is problematic.

adesso-os avatar Jan 05 '23 08:01 adesso-os

Same problem - following the quickstart tutorial on a mac (osx 13.1) didn't work by default, ran into this issue: https://github.com/localstack/serverless-localstack/issues/125

I had to change the quickstart serverless config to use host: 127.0.0.1 to get it to work.

homeyer avatar Jan 12 '23 16:01 homeyer