Socket hang up in Postman application (windows 10)

The error only shown in Postman application installed on my computer but if I run postman on web browser, the API works!
I have already used the api for a while now but recently when i used it, the error:socket hang up comes. How do i fix this? I don’t think this issue comes from codes because the postman works on web browser.

Two things to look for;

  1. HTTPS settings in the desktop client.
  2. Local Firewall settings (or firewall settings in general). When using the web app, the connection is going direct from Postman with very little restrictions in place, when used in the desktop app, its using your local network.

Thank you for the response @michaelderekjones . I will try to find time to do your solution and I will update here later for others to use.