You have to edit the two database connections in two places in Wappler. One in the database manager for Wappler to remotely connect to your database ( use full remote server ip/host there) and one in server connect globals for what runs on your server there you can use localhost.