Skip to content

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

@wchorski

Description

@wchorski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions