[Version: 2021]
[Build: 19184]
By default, the TARGIT server listens for traffic on port 1301.
This port number can be changed to an alternative port number, and requires modifications to a couple of files as well as a configuration change in the TARGIT Management client.
In the following instructions, replace [biserver.company.com] with the server name of the server hosting your TARGIT server.
settings.xml
On the machine running the TARGIT server, open and edit the file
C:\ProgramData\TARGIT\ANTServer\Settings\Settings.xml
Locate the <endpoints> tag. If they do not exist, you can add endpoints before the </settings> tag:
<endpoints> <endpoint url="http://biserver.company.com:500"/> </endpoints>
This would listen on biserver.company.com port 500 without encryption.
Another example:
<endpoints> <endpoint url="http://biserver.company.com:500"/> <endpoint url="https://*:900"/> </endpoints>
In addition, this would also listen on port 900 on all network interfaces with encryption.
Namespace reservation
The user/service running the TARGIT Server must be assigned rights to listen on the port.
Start a command prompt in elevated (Administrator) mode.
Assuming the TARGIT server is running with Local System Account, the command would be:
netsh http add urlacl url=http://biserver.company.com:500/ user="LocalService"
Note: Instead of server name, you may need to use the IP address.
Restart the TARGIT Server after these settings.
Logging in with the TARGIT client
When logging in with the TARGIT client (or with the Management client), use the full server name with port number:
Note: Instead of server name, you may need to use the IP address.
targitsettings.json
To make the Anywhere clients work with the new port number, you will also need to modify the file
C:\inetpub\wwwroot\Anywhere\targitsettings.json
Assuming port 500 is used on localhost, the server setting should be changed to:
"Server": "http://biserver.company.com:500",
Restart IIS after these settings.
Public URLs
In the TARGIT Management client, in Setup / Backend, change the Public URLs:
Comments
Please sign in to leave a comment.