newman econnrefused when running collection
<p>i have created a Collection in Postman. it is composed of GETs and it is testing if the response is 200. When i run it in Postman, all of the test passes. but when i run in newman using the collection link (command: newman run "collectionname.postman_collection.json"), i get the error:</p>

<blockquote>
  <p>unable to fetch data from url "collection link". connect ECONNREFUSED </p>
</blockquote>

<p>am i missing a setting or something? i dont have any authentication on my collection.</p>

<p>i exported the test and tried to run it locally but is still fails. this is what it looks like for one of the test.</p>

<blockquote>
  <p>Get <a href="http://linktoapi" rel="nofollow">http://linktoapi</a> [401 Unauthorized, 1.4kb, 0ms] <strong>Response is 200</strong> (the bolded text is colored red in the results</p>
</blockquote>

<p>i hope im not confusing you guys. i need to run the collection in newman so i could integrate it in Jenkins but these errors are baffling me. </p>

<p>i appreciate all the help. Thank you.</p>