Mysql Access Denied for user

Hi everyone,

I created a PWA with ionic/angular. An API in PHP to set/retrieve the data.

In my localhost: everything works fine.
I move the API to the server: With Postman, all the calls works fine
Now I change the URL in Ionic from the localhost to the internet server: Doesn’t work

Error message: “SQLSTATE[HY000] [1045] Access denied for user ‘userXX’@‘’ (using password: YES)”

I checked the MySQL permissions in the server, no problem.

Why with Postman it work, in the same server address, but not in Ionic?

Thanks in advance

Solved. I add the IP to Mysql as access host, it works.
Still hunt me why Postman is working and not Ionic. Maybe some data in the headers for https.