Newman/Docker - connect ECONNREFUSED

Hey all.

I am running into a bit of a road block on some newman tests in a docker container I am running. When I run my tests against a service thats in one of my test envs, it runs fine.
As soon as I run it locally, it fails with the error:
connect ECONNREFUSED 127.0.0.1:7000

The only difference I can find here is the explicit port number I am using when running locally.

This only seems to be an issue when its going though the newman docker image. If I remove that from the equation and just use my local newman instance then it works fine.

I am guessing there is something I need to pass in to address this port 7000 issue. Just not able to find a clear answer.

Here is an example of what I am doing:

docker pull postman/newman_ubuntu1404:latest
docker run
-v $PWD/service-test/:/etc/newman postman/newman_ubuntu1404:latest
run “src/test/resources/collection.json”
–environment “test_configs/test.json”
–disable-unicode
–color
–delay-request 100

Any thoughts would be greatly appreciated.

Thx,
Trent