I've developed a simple node.js application which lives in a customized Docker container (based on the node:carbon image).
The docker run
command is:
docker run -p 8087:8087 --restart=on-failure -t --name=$RUN_NAME \
--env-file $DEV_ENV -d $CONTAINER_NAME:$CONTAINER_TAG
My webserver should be responding on port 8087 and it is from inside the container and from outside the vm by calling it from some other servers (not in Google Cloud).
My problem is that I should call it from my GoDaddy Linux hosting (curl call) and it's not reachable from there:
* About to connect() to x.x.x.x port 8087 (#0)
* Trying x.x.x.x... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
Note: I've opened the firewall for the 8087 port.
Please help