Connector error

Using http connector to call localhost api on 8080 port to read data from local db but getting error.
HTCL-02007 Unable to execute HTTP request” error.