# Newman error: connect ETIMEDOUT

**URL:** <https://community.postman.com/t/newman-error-connect-etimedout/6195>\
**Category:** Help Hub\
**Tags:** newman-project, etimedout\
**Created:** [June 28, 2019, 10:25pm UTC](https://community.postman.com/t/newman-error-connect-etimedout/6195 "2019-06-28T22:25:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablovok](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pablovok/32/2111_2.png) [@pablovok](https://community.postman.com/u/pablovok)\
**Post date:** [June 28, 2019, 10:25pm UTC](https://community.postman.com/t/newman-error-connect-etimedout/6195/1 "2019-06-28T22:25:33Z")

</div>

Hi all,

When I try to run a collection with newman from the command line, it is giving me timeout.  
If I run it from the postman, it’s okay.  
Why could it be?

C:\Users\>newman run [https://www.getpostman.com/collections/ABCD](https://www.getpostman.com/collections/ABCD)  
error: connect ETIMEDOUT XX.XX.XX.XX:XXX  
C:\Users\>

Thanks and regards

Pablo.

---

<div class="post-metadata">

**Author:** ![pablovok](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pablovok/32/2111_2.png) [@pablovok](https://community.postman.com/u/pablovok)\
**Post date:** [July 1, 2019, 3:15am UTC](https://community.postman.com/t/newman-error-connect-etimedout/6195/2 "2019-07-01T03:15:29Z")

</div>

In cmd, if I run the command line:  
set HTTPS\_proxy = myuser: mypassword @ ipoftheproxy: portoftheproxy  
Or  
set HTTP\_proxy = myuser: mypassword @ ipoftheproxy: portoftheproxy  
And then I execute newman run …  
**Works!**  **Go!**  
I understand then that I have some error in the proxy … but I do not know how to solve it.

---

<div class="post-metadata">

**Author:** ![aamir.ahmed](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@aamir.ahmed](https://community.postman.com/u/aamir.ahmed)\
**Post date:** [July 1, 2019, 2:02pm UTC](https://community.postman.com/t/newman-error-connect-etimedout/6195/3 "2019-07-01T14:02:11Z")

</div>

Hi @pablovok,

The Postman app and Newman CLI are independent of each other, so you would have to set the proxy in the command line itself, it doesn’t sound like you have an error in the proxy since it seems to be working on the app as well.

---

<div class="post-metadata">

**Author:** ![pablovok](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pablovok/32/2111_2.png) [@pablovok](https://community.postman.com/u/pablovok)\
**Post date:** [July 1, 2019, 5:25pm UTC](https://community.postman.com/t/newman-error-connect-etimedout/6195/4 "2019-07-01T17:25:49Z")

</div>

Hi @aamir.ahmed,  
Add the command line and go … but if I run it from jenkins I still have the same error. 😭

---

<div class="post-metadata">

**Author:** ![pablovok](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pablovok/32/2111_2.png) [@pablovok](https://community.postman.com/u/pablovok)\
**Post date:** [July 1, 2019, 6:06pm UTC](https://community.postman.com/t/newman-error-connect-etimedout/6195/5 "2019-07-01T18:06:52Z")

</div>

Hi @aamir.ahmed,  
I had not rebooted jenkins, that’s why I was not … 😅
