1

We are using AWS Lambda runtime interface emulator to run our app locally inside Docker using lite-server

I start my docker container with: docker run -p 9000:8080 image-name

The curl http://localhost:9000 command is returning curl: (7) Failed to connect to localhost port 9000 after 0 ms: Connection refused

I am a newbie to Docker, can anyone please suggest how to fix it?

priya1209
  • 11
  • 2

0 Answers0