Use IP address instead of server name in License file

I had a question on if you could use the IP Address instead of the server name in the license file as there was a DNS issue that could not be resolved quickly that would not allow them to use the server name.

So instead of the following:
Server MyServer Composite=456FACB67875 28000

You would use the following: 
Server Composite=456FACB67875 28000

Also, on the clients instead of the following:
UGS_LICENSE_SERVER with a value of 28000@MyServer

You would use the following:  
UGS_LICENSE_SERVER with a value of 28000@

However, on some servers, there is an issue with resolving locally.  The license file reread would fail.  To fix this do the following:

  1. On the server go to C:WindowsSystem32driversetc
  2. Open hosts with notepad
  3. Under the lines that start with pound signs on new line put in ipaddress servername Go through config services…browse to the license file and save the service.  Then, do the stop, start, and the reread will work.
  4. An example of the a hosts file is below.

# Copyright (c) 1993-2009 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one # space.
# Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a ‘#’ symbol.
# For example:
#          # source server
#              # x client host
# localhost name resolution is handled within DNS itself.
#       localhost
# ::1             localhost MyServer

Email with any questions.

Madison Rye
Application Engineering Manager
Ally PLM Solutions

Get the latest tips, software updates and promos.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.