Why Set Host IP Address to 0.0.0.0 When Vision System Acts as Server?

In order for a computer to communicate with other devices, it must provide its own IP address and port so that the other devices can find it. If the host IP address is set to 0.0.0.0, it indicates that the program will listen on all IP addresses bound to the host.

Assume that the IPC is equipped with two network interface cards, and one is connected to Device 1 and the other to Device 2. The IP addresses of the network interface cards and devices are listed in the table below.

Device IP address

Network interface card 1

192.168.1.100

Network interface card 2

192.168.2.100

Device 1

192.168.1.10

Device 2

192.168.2.10

  • If the IPC has the TCP Server Standard Interface service enabled with the host IP address set to 0.0.0.0 and port 50000, both device 1 and device 2 can access the Standard Interface service through their respective network adapter IP addresses, despite being on different networks.

  • If the IPC has the TCP Server Standard Interface service enabled with the host IP address set to 192.168.2.100 and port 50000, the Standard Interface service will be available to device 2 by using network interface card 2 but not to device 1.

For the above reason, if Mech-Mind Vision System acts as the server, the host IP address is set to 0.0.0.0 by default and cannot be modified. This setting is simple and minimizes the chance of errors. You only need to specify the server IP address and port number to establish the communication.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.