Frappeclient auth fails from one domain to other

I am working with integration in ERP using frappeclient from my PHP app on one server and ERPnext on other dedicated server only serving erpnext. When i trying to connect via pi its give error message connection refused.

I am accessing erpnext through JS call successfully but unable to access using frappeclient. Please guide if some can guide.

You can check the following link, you may find it helpful

1 Like

Thanks for your reply, please guide which file i need to edit or place this code.

This will be in your nginx configuration file.

Dear Pawn, Thanks for your support. Problem is now solved.