How do you troubleshoot a scenario where an application cannot connect to a database on a different subnet?