Configuring your Application to use the TCP Log Router
June 6, 2016 Leave a comment
New in ReflectInsight v5.6.1 is the ability to add Remote Connections to the ReflectInsight Live Viewer. These Remote Connections are connections to the ReflectInsight Router Service. If you’ve read the posts this morning then you know how to install and configure the ReflectInsight Router Service and then add Remote Connections to the ReflectInsight Live Viewer. Now we will walk through how to configure your application to send messages to the ReflectInsight Router Service.
Open up your ReflectInsight.config file (if using satellite configuration files) otherwise go to the app or web configuration file and go to the section named <insightSettings>. You will then need to add a Router section as shown here:
The default port to connect to us 10881. If you changed the port in the ReflectInsight Router Service, you will need to set the same port here.
If the ReflectInsight Router Service is installed on the same machine as your application than you can leave the hostname to “localhost”. If the ReflectInsight Router Service is installed on another machine, you will need to put the computer name or IP.
NOTE: Port 10881 is the port from which your application will communicate to the ReflectInsight Router Service. The ReflectInsight Live Viewer will communicate to the ReflectInsight Router Service on port 10882.
Now that you’ve added the Router reference, you need to reference this named Router from your listener groups destination as shown here:
Enjoy!
Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.
We welcome any feedback you may have. Feedback can be given at our UserVoice site.
Thanks
The ReflectSoftware Team