When you create a connection to the DB you are likely going to use a connection string. This will be stored in you app.config file. It doesn't matter where this DB is, as long as the IP address it is sitting on is available to all computers from which you wish to access it.
There is a side note here worth mentioning: if you are storing username/password in the connection string you're going to want to look at
encrypting your credentials[
^].
Cheers.