Unable To Communicate With RTG via gRPC Interface

Updated Jun 23, 2026

Reported In

Driver

  • Radar Target Generation Software

Issue Details

I am able to successfully connect to the RTG system when using localhost for the ServerIP and using the NI-RTG Local API class in the RTG configuration INI file, but the connection fails when I switch to using the server’s IP address to use for the gRPC connection. The issue only occurs when replacing localhost with the server IP in my setup.

Solution

This behavior is typically caused by inconsistent or incorrect configuration values in the INI file. 
 
Follow these steps to resolve the issue:
 
  1. Verify INI File Key Configuration
    • Open the configuration (INI) file used by the RTG server. By default, the 'RTG Configuration Support.ini' file is located at C:\Users\Public\Documents\National Instruments\RTG.
    • Locate the parameters ServerIP and IPAddress.
    • Ensure both keys are set to the same value.
    • Example:
      ServerIP = <server_ip_address>
      IPAddress = <server_ip_address>
      
  2. Ensure Consistent Use of Server Address
    • Confirm that the same server address is used across all configuration fields.
    • Avoid mixing localhost with a remote IP address in different parameters.
  3. Test Using Host Name Instead of IP Address
    • Replace the IP address with the host name of the server machine in both ServerIP and IPAddress.
    • Example:
      ServerIP = <server_hostname>
      IPAddress = <server_hostname>
      
  4. Confirm Server-Side Configuration
    • Ensure the server is configured to accept connections on the specified IP address or host name.
    • Verify the server is not restricted to localhost-only binding.
  5. Restart the Application After Changes
    • Save the INI file.
    • Restart the server and client applications to apply the updated configuration.

Additional Information

Mismatch between configuration parameters such as ServerIP and IPAddress can prevent proper network binding and result in connection failures when transitioning from localhost to a network-based address. Ensuring consistent values across these parameters is required for proper communication between client and server systems.