Configuring an External Proxy Server Requiring Authentication for Postman
I am setting up native Postman windows and trying to run the request header api provided in the Postman Echo collection. I am getting the following error.
"Error: Unable to establish tunnel socket, statusCode = 407"
In the postman console, I can see that it is picking the correct proxy from the environment. My proxy requires authentication, how do I provide credentials. I tried to start Postman using the following command, but it didn't help.
postman.exe --proxy-server = username: password @myproxy: 8090
source to share
I could solve this problem for Postman as well as other local tools that are not capable of NTLM proxy authentication.
The solution is an open source proxy service / CNTLM daemon running on Linux, macOS and Windows. The project hasn't been updated for a while, but I could easily install and run it under Windows 10.
The best part is that it can check your proxy capabilities and automatically find the latest NTLM that the proxy supports.
source to share
You may already know, but since version 5.2 Postman includes a Proxy tab in the Preferences section.
You should be able to configure your proxy server on your system (if you are using Windows you can do this in Internet Options β Connections β LAN Settings) and then enable "Use system proxy" on this tab.
source to share