What Ports Do I Need to Open on My Firewall for Communicating with CompactRIO?

Updated Mar 3, 2020

Reported In

Hardware

  • CompactRIO Controller

Issue Details

If  I need to install a compactRIO in the corporate network, which ports do I need to open on the firewall in order to communicate with the device?

Solution

To communicate with a CompactRIO (depending on what you application needs to do) you must open the following ports :
  • MAX Hardware Identification - UDP 44515, UDP 44525, TCP 44516
  • Ethernet Target Device Discover - UDP 44525
  • LabVIEW RT TCP front panel connections - TCP 3079
  • NI Service Locator -  TCP 3580 
  • Using LabVIEW Web Server - TCP 8080
  • NI VISA Server - TCP 3537
  • FTP server - TCP 20, TCP 21
  • Synchronization (NTP, SNTP) - TCP 123 
  • Network Shared Variables and Network Stream - TCP 2343, UDP 6000-6010, TCP 59112
It's possible to collect this information from this guide Configuring Software and Hardware Firewalls to Support National Instruments Products 

Additional Information

If you want to learn more about the ports used by NI services and software in general, refer to Configuring Software and Hardware Firewalls to Support National Instruments Products