Connect tutor to OpenEdxMobile android

i am trying to connect openedxmobile android to tutor deployed Openedx, first of all is that possible or my only choice is the tutor android build debug method.

What i have done so far in android studio is edited API_HOST_URL to my ip address in config.yaml and OAUTH_CLIENT_ID in local.yaml to ANDROID_OAUTH2_SECRET value.

when i build the app and click signup and start learning button, i get

connection error, please check your internet connection

and in android studio logcat i get

E/ Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)


Caused by: failed to connect to IP (port 8000) from / (port 43967) after 10000ms: isConnected failed: ECONNREFUSED (Connection refused)

Maybe the port number is wrong, but idk what to replace?
can you help me please?
thanks in advance.

i removed the port(8000) and it worked. But now i get this error when i try to register a user although it registers the user:

E/ Response{protocol=http/1.1, code=400, message=Bad Request, url=https://domain/oauth2/access_token/

the issue is now i cant sign in, i am using the latest android release, this error looks like the

in the browser i get this:

{“error_description”: “Only POST requests allowed.”, “error”: “invalid_request”}

any suggestions.