Skip to content
  • There are no suggestions because the search field is empty.

Can I connect to a TCP server application located on the same PC as OmniServer?

We currently have a large installation of OmniServer's communicating to an RS-232 device. The device has been upgraded to a PC based system utilizing the same PC where OmniServer is running. Can I have OmniServer access a TCP application acting as a device on the same PC?

This is possible for some TCP based applications. For TCP applications supporting this, it will be necessary to use the PC's actual IP address in the Device definition. Using "localhost" or "127.0.0.1" will not work.

The TCP application must be configurable to listen on a specific TCP port, which is used in the OmniServer Device configuration.  Additionally, if a PC has multiple network interfaces (multiple IP addresses) and it is not possible to assign a specific NIC to your TCP application, communication on the same PC may not be possible.

It is always recommended to test communications on the same machine to ensure this configuration is supported for the TCP application, since not all TCP applications support communications with other TCP applications on the same PC.