Hi @Chin, Max @ Global D&T
If the machine you are running VS2019 on is your regular company machine... and you are trying to connect via a company network or VPN... yes, all the policies your company applied to your network apply to your connection and maybe stop those attempts.
Maybe the company has also applied a local firewall that does not allow that external traffic on several ports.
If you have the opportunity to use your private PC... then try this. If it works... get in contact with the network team of your company and ask them.
On the other hand... which endpoint of your Azure SQL DB did you use... is there an internal or a public endpoint? Is public access set to "allowed" on your SQL server?
Did you already try this tutorial to troubleshoot your connection? Maybe this tutorial helps you to set up a connection...
https://learn.microsoft.com/en-us/azure/azure-sql/database/connect-query-ssms?view=azuresql
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!