Running localstack as docker-compose service permanently have this error when try to call sqs form nodejs application.
UnknownEndpoint: Inaccessible host: '127.0.0.1' at port '4566'. This service may not be available in the eu-west-1' region.
Tried to change 127.0.0.1 to localhost but without any success.
Tried to use latest aws-sdk, and the same - message - conection refused.
running request using curl do the job perfectly.
This is my docker-compose settings for nodejs and localstack:
Running localstack as docker-compose service permanently have this error when try to call
sqs
form nodejs application.UnknownEndpoint: Inaccessible host: '127.0.0.1' at port '4566'. This service may not be available in the eu-west-1' region.
Tried to change
127.0.0.1
tolocalhost
but without any success. Tried to use latest aws-sdk, and the same - message - conection refused.running request using curl do the job perfectly.
This is my docker-compose settings for nodejs and localstack: