Android Question [SOLVED] Run App on Online VPS with MySQL

When i try to running my app on vps, i got some problems, such as connection refused and etc.

but here i want to share my experience.

you have to look at this tutorial first,

Erel - Run on VPS

and if you dont get any "Connection Successful" when you try to the server, maybe you should check the config.properties.

in this case i run my app on CentOS7 with cPanel & webuzo Account

1. Make sure you upload your db file to the phpmyadmin on your vps
designer.PNG

make sure you leave it "localhost"

2. Make sure your username and password in your phpmyadmin on vps is correct with the config.
fill the password with your account password.
designer.PNG


3. AND THE CRUTIAL, YOU HAVE TO TURN OFF FIREWALL ON YOUR VPS, CONFIGURE THAT USING WEBUZO.

search "firewall" in search box on webuzo and then turn off the firewall.

Good luck all!😊
 

Attachments

  • designer.PNG
    designer.PNG
    5.6 KB · Views: 177
Last edited:
Top