This Blog has Moved

This blog has moved to

To stay up-to-date with the latest news, tips and tricks, product enhancements and maintenance packs for Siemens PLM Software solutions, visit our new site!

For resources for specific products, you can navigate directly to the product resource page:
... and more!

Monday, October 15, 2012

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:\Windows\System32\drivers\etc
  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

No comments:

Post a Comment