prehistoric-waiter-42625
12/13/2024, 8:41 AMconst initResponse = await axios.get(
"<http://127.0.0.1:4433/self-service/login/browser>",
{
headers: {
Accept: "application/json",
},
}
);
console.log("initResponse", initResponse);
reqBody { email: 'nameee@gmail.com', password: 'password' }
nextjs-1 | error Error: connect ECONNREFUSED 127.0.0.1:4433
nextjs-1 | at <unknown> (Error: connect ECONNREFUSED 127.0.0.1:4433)
nextjs-1 | at Y.from (/app/.next/server/app/api/auth/signin/route.js:1:7759)
nextjs-1 | at y.<anonymous> (/app/.next/server/app/api/auth/signin/route.js:3:9596)
nextjs-1 | at d.<computed> (/app/.next/server/app/api/auth/signin/route.js:3:41336)
nextjs-1 | at aM.request
I got the answer because the service was running in a container