#After clicking to a product, Im getting error - Error: connect ECONNREFUSED 127.0.0.1:9000
10 messages · Page 1 of 1 (latest)
Same issue with this one https://github.com/medusajs/medusa/issues/2053
Except that its "ECONNREFUSED" instead of "ECONNRESET"
wait - compiling... event - compiled client and server successfully in 457 ms (1516 modules) warn - Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/basic-features/fast...
connection refused in tcp speak usually means there is nothing on that port. In other words, your server is not starting properly and not listening on port 9000. Check your console to find out why.
@viscid shadow Thank you for response. It actually listens because on main page, all products are listed. But when i go to product details, im getting this error.
I still cant solve the issue 🙃 Fore more information, this what it says in console.log And i use next.js storefront
Since you are running the frontend, on a custom port (8100), perhaps check your store cors settings.
If you post your full config file, we can take a look.
i resolved this issue by pasting the host:9000 instead of localhost:9000 for example: http://ip:9000
@raw cargo thank you, that fixed it!
if you are windows, open cmd as admin, then type "net stop winnat"