nextjs-woocommerce-restapi icon indicating copy to clipboard operation
nextjs-woocommerce-restapi copied to clipboard

Error: connect ECONNREFUSED 162.xxx.xxx.xx:3000

Open wchorski opened this issue 3 years ago • 0 comments

wp: publicly hosted backend

nextjs: locally hosted at localhost:3000

image

when I go to refresh my NextJS homepage i get this error image

when I make a request in my browser directly to the backend. The URL changes to a different port on request

https://mobibooth.com/store/wp-json/wp/v2/pages -- changes to -- https://mobibooth.com:3000/store/wp-json/wp/v2/pages

wchorski avatar Sep 15 '22 19:09 wchorski