Raspberry pi mosquitto doesn't work

After install openhub2 on ras pi, mosquitto installed automatically.
Mosquitto running, active, but port 1883 closed.
Снимок экрана 2023-04-18 в 11.38.31

And i cant connect mosquitto to openhub2.

[2023-04-17 09:45:27] [ERROR] Connect fail, MQTT.js onError trigger, Error: connect ECONNREFUSED 192.168.1.80:1883
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1061:14)
[2023-04-17 09:45:28] [INFO] Connect close, MQTT.js onClose trigger

Given you didn’t install it through openHABian you either need to provide a lot more details or ask on a Mosquitto forum.

Automatically ? The client part or the server part or both ?

Based on the nmap output it doesn’t look like mosquitto is running on that port at least not on the ehternet interface. Or is it the wrong IP ?
The mosquitto log and journalctl output will hep.

In fact, openHAB2 provided an embedded broker (NOT mosquitto) to be installed via bindings.
There was never a mosquitto broker installed automatically.