[INTERNAL] How to change the License Server default TCP/IP communication port number (7070) to a custom value
TOPIC:
By default, the Harris FlexNet License Server Service is configured to communicate by default with license clients over TCP/IP port 7070. However, if needed, it is possible to re-configure this service to communicate over a different TCP port number.
DETAILS:
To change the TCP/IP communication port number for the Harris FlexNet License Server Service on Windows or Linux, do the following:
| Note: Administrative privileges will be required to make changes described in this help article. |
| Note: When changing the TCP/IP communication port number for the Harris FlexNet License Server Service, if needed, please remember to make any corresponding changes to your firewall configuration. |
Note: In order to continue to use the Harris License Administrator utility on the license server machine or on license client machines after altering the TCP/IP port number used by the Harris FlexNet License Server Service, update the following settings in the License Administrator with the new port number:
- "Use License Server" (reconnect to the new license server and port number)
- "Activate Licenses on this Server" (for activating licenses locally to the license server)
|
WINDOWS
1. Deactivate the licenses from your license server.
2. Edit the file:
C:\Program Files\Harris\flexnetls-x64_windows-2016.03.0\server\flexnetls.settings
modifying the following section:
# Use to specify the HTTP listening port
PORT=7070
where you should comment out the default port number (put a "#" character in front of the line "PORT=7070") and then specify the non-default TCP port number, for example:
#Use to specify the HTTP listening port
#PORT=7070
PORT=7171
3. From a command prompt window, running as Administrator, change directories to the directory:
FLEXNET-SERVER-DIR\server
where you should replace FLEXNET-SERVER-DIR with the correct path for your installation, for example:
cd "C:\Program Files\Harris\flexnetls-x64_windows-2016.03.0\server"
4. Then at the command prompt issue the command:
flexnetls.bat -update
5. Then run the additional command:
flexnetls.bat -start
6. Wait to allow time for the license server service to fully reinitialize (maybe a minute or so).
7. Re-activate your licenses to the license server.
8. Check the status of the licenses on the license server.
LINUX
1. Deactivate the licenses from your license server.
2. Stop the license server service:
sudo service flexnetls-idl_lmgrd stop
3. Edit the following file:
/etc/default/flexnetls-idl_lmgrd
modifying the following section:
#Use to specify the HTTP listening port
PORT=7070
where you should comment out the default port number (put a # character in front of the line "PORT=7070") and then specify the non-default TCP port number, for example:
# Use to specify the HTTP listening port
#PORT=7070
PORT=7171
4. Next, run the command:
sudo service flexnetls-idl_lmgrd start
5. Wait to allow time for the license server service to fully reinitialize (maybe a minute or so).
6. Re-activate your licenses to the license server.
7. Check the status of the licenses on the license server.
Related Articles:
Reviewed by JU (9 Jan 2017), DS (10 Jan 2017), Updated by CS (7/20/2020)