The first and most important question...
Your headline says mySQL (master-slave-replication)
Your content says MSSQL...
Your question is about which product?!
But maybe the answer might be the same => yes, both are possible (depending on your network connectivity!)
I hope my answer is helpful to you,
Your
Bjoern Peters
If the reply was helpful, please upvote and/or accept it as an answer, as this helps others in the community with similar questions. Thanks!