Node-Red integration with microPython ESP8266 via MQTT

If you really want to use a broker built into node red (which I advise against) then you only need one node-red instance. The server node is completely separate from the client nodes.

If you install mosquitto then in order to allow access from external devices (such as the ESP) then you need to edit the mosquitto configuration file and add to the end

listener 1883
allow_anonymous true