Modbus TCP server, IP setup

Hi everyone, I'm trying to design a system that requires to communicate with some modbus clients, so I used the modbus server node, but, if I define an IP distinct from 0.0.0.0, I get the next error:
Error: listen EADDRNOTAVAIL: address not available 192.168.1.150:502
And with the IP 0.0.0.0 I cannot connect any client.
Do you know how to avoid this error and set a custom IP?

Thanks you very much.

0.0.0.0 means “my current ip” i think.

So you can only change the port.

You surely can not change the ip address of the machine just by changing some config on the node red node

Try ipconfig or ping localhost on a terminal window?

Oh! It's true, thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.