Connect PX4 to remote gazebo server

Iā€™m trying to set up a PX4 simulation environment using this manual. It states that you can run PX4 in standalone mode and the Gazebo server on the same network.

So, I ran a PX4 instance with PX4_GZ_STANDALONE=1 make px4_sitl gz_x500 on and the Gazebo server with gz sim -r on

Both started successfully, but the PX4 instance seems to be unable to connect to Gazebo, continuously spawning the warning WARN [gz_bridge] Service call timed out as Gazebo has not been detected.

Does anyone know how to configure a PX4 instance to use a remote Gazebo server?