Add a Service to a LAN application

In addition to supporting connections to TCP servers on the device itself, also allows connections to other TCP servers on the LAN. This is an incredibly powerful feature that lets you make connections to TCP servers running on other devices on your LAN without having to install any software on them at all.

There are some limitations: the other devices must have either a static IP or support mdns.

At the Main Menu, select option 2 for "Attach/reinstall a Service to a LAN application".  The installer asks you for the IP address or mdns address.


Let's install a service for the web interface on my router. This happens to have a static IP address (here, I'll use a web service on port 80.

Now you will see the "Protocol Selection Menu".


Select option 2 for web and enter the requested information. When the list of installed Services redraws, you will see your new web Service in the table along with the detected LAN application. It is not possible to detect the program running a LAN application so you will see "OK" here or "not detected".


Note that the "LAN Address" for the "Router-UI" Service shows the IP address you entered. If you used an mdns address, that would be shown here instead.

Now, when you access your Device at the web portal, you will see the entry for the LAN application Service alongside your other Services.

Clicking on the "Router UI" link now takes you to your router's UI.
The interactive installer can be used in a similar way for all types of supported TCP Services on other LAN devices.

Using mdns for LAN applications

When you configure a "LAN Application", you need to specify the IP address, or use an mdns address. mdns, also known as "Bonjour", gives a device a specific host name which can be used on the LAN. mdns has an advantage over static or other fixed IP addressing methods, in that when the device or your router reboots, while the device may get a different DHCP address each time, the mdns address will stay the same.

For example, a Raspberry Pi running Raspbian has the mdns address raspberrypi.local.

By default, the Raspberry Pi Raspbian OS enables mdns using the "avahi-daemon" service. Learn more about the avahi service here.


Continue by scrolling down.



Was this article helpful?
0 out of 0 found this helpful