How to configure service TCP/IP Port for DnsUpdater.
Product: TenAtoms DnsUpdater
Applies to version: 1.0.4.0 or up.
Operating System: All supported operating systems.
Introduction
------------
By default the application service in previous releases use TCP port 9000 for communication. If this port is in use by some other application, the service will wait and time out. The client connecting to this service, WHS Console Tab or stand alone Client, will hang while attempting to connect on port 9000.
Version 1.0.4.0 allows users to change the TCP port used by the application via a configuration file. This article explains how to change the default port. The steps are similar for versions of Windows, except the location of the configuration file is different depending on the operating system.
Version 1.0.4.0 also changed the default port to 51000 to avoid conflicts with well known ports.
Steps to configure port
-----------------------
1. Stop DnsUpdater service and client
If you are using stand alone client, right click on the notification tray icon and select Exit. Or is the client is up, close the client and select Yes to the question about exiting.
If you are using Windows Home Server console. close the console on all clients.
Stop the ‘TenAtoms DNS Updater’ service on the computer. Use Control Panel->Administrator->Services utility Or at command prompt, net stop TA_DnsUpdaterService
2. Locate the application data folder
Depending on your Windows version, the location of application data folder will be different.
On Windows XP/Server 2003/Home Server v1
C:\Documents and Settings\All Users\Application Data\TenAtoms\DnsUpdater
On Windows Vista/Windows 7/Server 2008
C:\ProgramData\TenAtoms\DnsUpdater
3. Create or edit the configuration file
a. If a file called ‘ServiceConfig.xml’ already exists in the above folder, you can skip this step. Otherwise, using a text editor such as Windows Notepad, create a text file in the application data folder called ServiceConfig.xml.
b. If the file was already there, the content should look like:
51000
If you created a new file, then copy/paste or type in the above XML.
c. To change the port that the service and user interface layer will use, replace the content of 51000 inner text. For example, if the new port is to be 60000, change the value 51000 to 60000. This value must be an integer less than 65535. See http://www.iana.org/assignments/port-numbers for port assignments if interested.
d. Save these file changes.
4. Start DnsUpdater service and client
Start the ‘TenAtoms DNS Updater’ service on the computer. Use Control Panel->Administrator->Services utility Or at command prompt, net start TA_DnsUpdaterService
Start your client as you would normally.