# Tunneling socket could not be established, statusCode=407"

**URL:** <https://community.postman.com/t/tunneling-socket-could-not-be-established-statuscode-407/58551>\
**Category:** Help Hub\
**Tags:** postman\
**Created:** [March 6, 2024, 8:03pm UTC](https://community.postman.com/t/tunneling-socket-could-not-be-established-statuscode-407/58551 "2024-03-06T20:03:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![menakadev](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@menakadev](https://community.postman.com/u/menakadev)\
**Post date:** [March 6, 2024, 8:03pm UTC](https://community.postman.com/t/tunneling-socket-could-not-be-established-statuscode-407/58551/1 "2024-03-06T20:03:28Z")

</div>

I need to connect to proxy server and getting this error “Error: tunneling socket could not be established, statusCode=407”  
I’ve setup Postman to enable custom proxy configuration (Disabled the Default Proxy Configuration and System Proxy settings)  
Version Details: Postman for Windows and Version 9.31.29 and same issue with latest version 10.x  
Tried below things:

1. I’ve tried enabled System Proxy proxy settings along with customer settings(I am aware that if both are enabled it will take the customer settings but given a try). → Din’t work
2. I’ve tried enabling Default Proxy Configuration with my credentials and enabled customer proxy configuration → Didn’t work
3. I’ve tried using a batch file with HTTP\_PROXY environment variables to launch postman and it still has the same problem.  
NOTE: My collegue has Version 9.31.27 MAC version and it is working fine.  
Please help me in resolving this issue.

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [March 7, 2024, 1:32pm UTC](https://community.postman.com/t/tunneling-socket-could-not-be-established-statuscode-407/58551/2 "2024-03-07T13:32:35Z")

</div>

Hi @menakadev. Welcome to the Postman Community

A 407 statusCode is a “Proxy Authentication Required” error and usually means that the proxy requires authentication that hasn’t been provided or provided incorrectly.

Can you confirm that you are providing the right authentication credentials to the proxy?

---

<div class="post-metadata">

**Author:** ![menakadev](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@menakadev](https://community.postman.com/u/menakadev)\
**Post date:** [March 7, 2024, 4:39pm UTC](https://community.postman.com/t/tunneling-socket-could-not-be-established-statuscode-407/58551/3 "2024-03-07T16:39:53Z")

</div>

Hi @gbadebo-bello ,

Yes. I have provided the correct credentials. Same credentials is working fine in curl(Windows bash) and thru java program.  
My team mate has Version 7.36.7 - windows and other has Mac - Version 9.31.27 and it is working in their postman.  
I would like to try on Version 7.36.7 to rule out that its not bug from postman in latest version.  
Thank you for the support!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [April 6, 2024, 4:40pm UTC](https://community.postman.com/t/tunneling-socket-could-not-be-established-statuscode-407/58551/4 "2024-04-06T16:40:44Z")

</div>

Closed on April 6, 2024, 4:40pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
