Docker Community Forums

Share and learn in the Docker community.

New-B Q: Docker REST API runs on terminal but not over outside web URL

(Matthew R. Versaggi) #1

I have a docker container that exposes a simple REST API that works properly on the command line but not in the service name via the docker cloud.

  • For example, here it is working on the Terminal command line.
  • This is the same API call from the docker cloud times out.
  • Yet I can run this in my local docker instances and see them anywhere in the network.

I’ve set the ports to 80 and 8000 respectively and the docker API/App url works as expected.

It must be something stupid but I can’t see what it is …

I’d appreciate any guidance in the matter, thank you for your time in advance.