You may want to see https://verificationacademy.com/sessions/understanding-tlm
Do not confuse port of a module that has a direction for signal flow(input, output, inout) with a TLM port and export. TLM connections are made by passing handles so that a call to get or put in one component winds up calling a task in another component. The port or export designates the direction that the handle needs to be passed so that the initiator port (the component making the call) can contact the responder export (the component executing the call). The flow of data is independent of the connection.