Table of Contents
There are some general considerations about the configuration of FreeCast applications. Each application is configurable via XML files. These XML files follow the same logic.
The configuration file only needs to complete and overwrite the default configuration of the application.
Host elements used into the FreeCast configuration designate an IP address over a IP network (like your local network or Internet). Hosts can be specified via either host names or IP addresses. As usually, host names will be resolved by FreeCast applications.
This information can be used by FreeCast applications in another context than your local network. Don't use local host names or local IP addresses in a configuration file which must be used over Internet.
Port elements designate a TCP port or a port selection:
A single port is designated by a number.
A port range is defined by a lower and an higher port separated by a
-.
A random port range is defined by a lower and an higher port separated by a
~.
A port selection can contain one or more ports or port ranges separated by a
,.
<listenaddress> <host>0.0.0.0</host> <port>1665</port> </listenaddress>
hostthe listen IP address. The default is 0.0.0.0, connections will be listened over all network interfaces. By choosing a specific address, you can limit the reachability. For instance, You can use localhost to limit the reachability to your computer. Don't modify this default parameter unless you have a specific need.
portthe TCP port used to listen and receive requests from other FreeCast applications. By using a port selection, you can avoid problems with ports already used by other applications. In this case, the first free port will be used.
The choice of a listen address must be compatible with your network configuration. Listening connections on a computer behind a router or a firewall can require a manual configuration step about the related software or hardware.