Boa Tarde! Estou tendo erro na hora da conexão com a API.. está me retornando connection_refused.
Isso é o que me retorna no Console do Browser
GET http://localhost:3000/flavio/photos net::ERR_CONNECTION_REFUSED
ERROR HttpErrorResponse {headers: HttpHeaders, status: 0, statusText:"Unknown Error", url: "http://localhost:3000/flavio/photos", ok: false, …} error: ProgressEvent {isTrusted: true, lengthComputable: false, loaded: 0, total: 0, type: "error", …} headers: HttpHeaders {normalizedNames: Map(0), lazyUpdate: null, headers: Map(0)} message: "Http failure response for http://localhost:3000/flavio/photos: 0 Unknown Error" name: "HttpErrorResponse" ok: false status: 0 statusText: "Unknown Error" url: "http://localhost:3000/flavio/photos" __proto__: HttpResponseBase
E em NETWORK no Browser me retorna em vermelho com status (failed)
Requests Headers
Provisional headers are shown
Accept: application/json, text/plain, */*
Origin: http://localhost:4200
Referer: http://localhost:4200/user/flavio
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36