When you setup the database did you enable Direct Access? If you did not toggle this option you will not be able to access the database remotely. You can not add this feature after the database is already created. If this option was not toggled you will need to create a new database.
You can see more about this here: can-i-connect-to-my-database-remotely