For successful SELECT, SHOW, DESCRIBE or EXPLAIN queries mysqli::query (or mysqli_query()) will return a mysqli_result object (see this article mysqli.query).
So in your case you can't just echo this, you can see rows data like this:
$mysqli = new mysqli("104.236.***.57", "Josh", "********", "******");
if ($mysqli->connect_errno) {
printf("Connect failed: %s\n", $mysqli->connect_error);
exit();
}
/* If we have to retrieve large amount of data we use MYSQLI_USE_RESULT */
if ($result = $mysqli->query("SELECT * FROM users", MYSQLI_USE_RESULT)) {
/* prints number of result rows */
printf("Select returned %d rows.\n", $result->num_rows);
/* Cycle through results */
echo "Table data:\n";
while ($row = $result->fetch_object()){
var_dump($row);
}
/* free result set */
$result->close();
}
/* close connection */
$mysqli->close();
Also, check your database server (104.236.***.57) made available for remote access. Check with your hosting company if you can access the database server from outside.