Homeassistant core and node red on docker do not interface

Hi all, I have a perhaps trivial problem but to which I can’t find a solution.
I installed homeassistant core and node red on docker.
Both servers work, unfortunately I can’t get the node red server to see the homeassistant instances and entities preventing it from developing examples and running tests.
I am attaching some print screens that could help those who are more expert to understand what I have forgotten
Thank you