On server start, sometimes when performing api requests i'm assuming it's not done starting up and requests are already made.
Getting the following error:
Error: {"message":"connect ECONNREFUSED 127.0.0.1:5000","name":"Error","stack":"Error: connect ECONNREFUSED 127.0.0.1:5000\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1142:16)","config":{"url":"cloud_accounts/cjdvbgfnmk","method":"get","headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","User-Agent":"axios/0.21.1"},"baseURL":"http://localhost:5000/v2/","transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"httpsAgent":{"_events":{},"_eventsCount":2,"defaultPort":443,"protocol":"https:","options":{"rejectUnauthorized":false,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":null,"maxFreeSockets":256,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}}},"code":"ECONNREFUSED"}