"Could not get any response" response when using postman with subdomain

Yahya Hussein picture Yahya Hussein · Dec 14, 2017 · Viewed 281.6k times · Source

I am using postman to test an API I have, all is good when the request does not contain sub-domain, however when I add a sub-domain to URL I am getting this response.

Could not get any response

There was an error connecting to http://subdomain.localhost:port/api/

Why this might have happened:

The server couldn't send a response:Ensure that the backend is working properly

Self-signed SSL certificates are being blocked:Fix this by turning off 'SSL certificate verification' in Settings > General

Proxy configured incorrectly Ensure that proxy is configured correctly in Settings > Proxy

Request timeout:Change request timeout in Settings > General

If I copy the same URL from postman and paste it into the browser I get a proper response, is there some kind of configurations I should do to make postman work with sub-domains?

Answer

Ramesh R picture Ramesh R · Feb 27, 2018

First Go to Settings in Postman:

  1. Off the SSL certificate verification in General Tab:

  1. Off the Global Proxy Configuration and Use System Proxy in Proxy Tab:

  1. Make Request Timeout to 0 (Zero)