Devices unavailable in home assistant and tasmota

Error message is rc-2.
Have home assistant core working on a raspberry pi 4 8gb with a ssd.

error: -2 is a network a network error : Tasmota cannot reach the server

Yes that I understand, before all my devices working correctly on a computer with HA. After I install HA on the raspberry pi 4 8gb I get this problem. Is the problem that I have to install the mqtt broker on the raspberry?

You need a MQTT broker that is both reachable from HA and your Tasmota devices. If you don’t have that, yes, you will need to install the mqtt broker on the raspberry.

Okay thanks I will trying that.