Hi Curious 7,
Thank you for your question.
I recommend that you consult the articles below that will deal with the main problems of this type of connection and how to solve it:
https://video2.skills-academy.com/en-us/azure/virtual-network/troubleshoot-vm-connectivity
---------------------------------------------------------------------------------------------------------
If the answer is helpful, please vote positively and accept as an answer.