Socket hang up - serverless deploy error

when i run : serverless deploy --stage local, i get the following message : socket hang up
i have the serverless-localstack installed and have the docker image running

any help appreciated