How to connect to SITL for status data?

Hello there,

I’m trying to connect to SITL via pymavlink to read out status data of the drone, like current location, altitude etc.
I’ve tried connecting with all ports mentioned in the graphic here, but I fail to get any relevant messages. Can anyone tell me what I’m doing wrong?