Estou tentando criar um cadastro no site da Bytebank, mas estou enfrentando um problema de conexão recusada. Estou rodando a API localmente e também o front-end.
Notei que deu esse erro no Console do browser (Edge e Chrome)
***bundle.js:62664
POST http://localhost:8000/public/cadastrar net::ERRCONNECTIONREFUSED
dispatchXhrRequest @ bundle.js:62664
xhr @ bundle.js:62488
dispatchRequest @ bundle.js:63651
request @ bundle.js:63101
httpMethod @ bundle.js:63135
wrap @ bundle.js:64156
onSubmit @ bundle.js:3474
await in onSubmit
callCallback @ bundle.js:25110
invokeGuardedCallbackDev @ bundle.js:25154
invokeGuardedCallback @ bundle.js:25211
invokeGuardedCallbackAndCatchFirstError @ bundle.js:25225
executeDispatch @ bundle.js:29369
processDispatchQueueItemsInOrder @ bundle.js:29395
processDispatchQueue @ bundle.js:29406
dispatchEventsForPlugins @ bundle.js:29415
(anônimo) @ bundle.js:29575
batchedUpdates$1 @ bundle.js:43967
batchedUpdates @ bundle.js:24958
dispatchEventForPluginEventSystem @ bundle.js:29574
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ bundle.js:27080
dispatchEvent @ bundle.js:27074
dispatchDiscreteEvent *
Quando eu tento criar uma conta no site Bytebank é exibido esse erro na tela "Aconteceu um erro inesperado ao efetuar login! Contate o suporte" e no Console este erro:
GET http://localhost:3000/static/media/ilustracao-login.cccc282….svg net::ERR_CONNECTION_REFUSED
Image
commitMount @ bundle.js:31070
commitLayoutEffectOnFiber @ bundle.js:41634
commitLayoutMountEffects_complete @ bundle.js:42713
commitLayoutEffects_begin @ bundle.js:42702
commitLayoutEffects @ bundle.js:42648
commitRootImpl @ bundle.js:44558
commitRoot @ bundle.js:44438
performSyncWorkOnRoot @ bundle.js:43947
flushSyncCallbacks @ bundle.js:31950
(anônimo) @ bundle.js:43551