I am using ERPNext docker installation for development and I am using the RestAPI for creating an invoice through my mobile app. When I try to create the invoice through the Rest Api on my local docker dev environment I get the following error.
Exception has occurred. SocketException (SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 47672)
Could someone please help me fix this issue?