Snapdragon Flight PX4 mavROS

Hi, I have a Snapdragon Flight Quadcopter and I would like to have its px4 publishing topics in mavros.

When I run the px4 on the snapdragon computer and mavros on my computer with both connected to the same wifi network, it works fine and I can see the rostopics in my computer.

However, when I try to run both px4 and mavros in the snapdragon computer, I cannot get them to communicate. Both programs are trying to access an UDP port and cannot do it at the same time. If I select different ports, they run but mavros don’t get px4 topics.

Is there a way to configure the px4 to publish on some sort of local port that mavros can access?

@joaocpc Are you following the instructions provided as in this link?