PX4 - SITL not getting connected


Hi !

I was trying to run my code on Flytsim; while working with APM-SITL it was getting connected but when I switched to PX4-SITL, it was detecting the license but not getting connected even after restarting flytsim several times. Please Help me with the issue.