How can i fix this while using local host

You haven’t really given enough info to get help.

At best I would guess that you need a /etc/hosts entry that looks something like
127.0.0.1 new.erpnextorganize.xyz
but with the info you offered it’s nothing more than a wild guess

1 Like

thanks @trentmu the error was fixed after i did some changes on the domain