Mathematica License Server Tcp Port

  

Configuring NI VLM Ports. Note If the Main Licensing Port is not set to the default value of 27000, clients need to set both the server name and Main Licensing Port number in NI License Manager. The Volume License Installer wizard automatically configures client machines to use the Main Licensing Port. Remote Desktop requires TCP port 3389 to be open. It is possible to change the port used by the terminal server (or PC which is accessed), see this Microsoft support article: 'How to change the listening port for Remote Desktop'. ACCC is making the network license server available for those who are eligible for the Comprehensive Program (those not included in the above mentioned “Eligible Colleges and Schools”). Those who do not belong to the formerly mentioned institutions can have access to the Mathematica program via the license server using the on-campus network. A recent upgrade to the Mathematica license server has broken Mathematica ONLY on systems that are running Centrify Express and connected to our AD Domain. It looks to the license server as if the packets are getting mangled in some way. In the case that cheater is a windows machine, simply go to the DNS tab of the TCP/IP Properties (under network control panel, at least on NT 4) and change the hostname to good (and maybe domain to example.com) --- keep in mind no real DNS changes need be made -- and run mathematica, pointing to the license server at licenseserver.example.com. When Mathematica launches, it will open the 'Wolfram Product Activation' window. Click on the Other ways to activate button. In the 'Select a method to activate' window, click on Connect to a network license server; In the 'Connect to a Network License Server' window, enter license0.rc.usf.edu in the 'Server name' box, and click the Activate button.

Issue:

The following ports are officially assigned to the FLEXnet license manager for Autodesk products by the Internet Assigned Numbers Authority:
ServicePorts
lmgrd master daemon27000–27009
adskflex vendor daemon2080
If your network is running another application that is using port 2080 and/or 27000–27009, and that application cannot be relocated to another port, it is possible to changed the assigned ports that are used by the FLEXnet license manager to use different ports.

Causes:

You have multiple Flexlm based license servers hosted from the same license server.

Solution:

Note: These changes are not officially supported by Autodesk as they may generate conflicts with other applications. We strongly recommend not to change the ports unless it is absolutely necessary.

Mathematica License Server Tcp Port Failed Sccm 2016

How to change the ports on the server:

To change the ports you have to modify the license file on the server (C:Program fileAutodesk License ManagerLicense) to assign a port number on the SERVER line and assign a different port number on the VENDOR line. For example:

Original license file (first 3 lines):

SERVER Master01 00d0b757050C0
USE_SERVER
VENDOR adsklflex port=2080

Modified license file (first 3 lines):

SERVER Master01 00d0b757050C0 27500
USE_SERVER
VENDOR adsklflex port=2099

Tcp Server Java

How to change the ports on the client:

If you are using ADSKFLEX_LICENSE_FILE env variable, you can add your license server port in front of @yourservername. For example ADSKFLEX_LICENSE_FILE=27500@Master01, or ADSKFLEX_LICENSE_FILE=2099@Master01.
In addition to modifying the license file you will want to modify the LICPATH.LIC files on the client systems as well. This is the file that tells the product where to find the license server.

  • For Autodesk software version 2017 and higher, LICPATH.lic file can be found in C:ProgramDataAutodeskCLMLGS<Product Key>_<Product version>.0.0.F. For example for AutoCAD 2019, the file location would be C:ProgramDataAutodeskCLMLGS001K1_2019.0.0.F
  • For Autodesk software version 2016 and earlier LICPATH.lic file is typically found in the root folder of the Autodesk program, such as C:Program FilesAutodeskCivil 3D 2015.
On Mac OS X:
  • For Autodesk software version 2017 and higher, LICPATH.lic file can be found in /Library/Application Support/Autodesk/CLM/LGS/<Product Key>_<Product version>.0.0.F. For example for AutoCAD 2018 for Mac, the file location would be /Library/Application Support/Autodesk/CLM/LGS/777J1_2018.0.0.F
  • For Autodesk software version 2016 and earlier client license file location usually is in /var/flexlm
  • You can find your license file location in ~/.flexlmrc file. From a terminal run following command cat ~/.flexlmrc, the command will display .flexlmrc file content in the terminal, check for ADSKFLEX_LICENSE_FILE value.
  • Client license file can be found in several folders most often in /var/flexlm/.
  • You can find your license file location in ~/.flexlmrc file. From a terminal run following command cat ~/.flexlmrc, the command will display .flexlmrc file content in the terminal, check for ADSKFLEX_LICENSE_FILE value.

Update the SERVER line of this file by adding the same port number you assigned in the license file:

SERVER Master01 00d0b75705020 27500
USE_SERVER

Mathematica License Server Tcp Port

If you do not find the LICPATH.LIC file, you can create a license file by saving a text file with the extension .LIC, and including the following information (found in your license file):

SERVER <HOSTNAME> <HOSTID> <ALTERNATE PORT NUMBER>
USE_SERVER

Confirm that both the client and server are using the same port for the lmgrd master daemon. Rebooting the system is necessary before your modifications can take effect.

Note: Specifying an alternate port restricts you to only using a single specific port and not a port range.

See Also:

FLEXnet: don’t like 27000 or 2080 port numbers? Change them. (Up and Ready Blog)
How to set exceptions for Autodesk Network License Manger in Windows Firewall
How to set up a Network License Server on Windows
How to set up a Network License Server Manager on Linux
How to set up a Network License Server Manager on Mac

Versions:

Active6 years, 9 months ago

Setting up an ODBC driver through ODBC Data Source Administrator for progress/openedge 10.2a on 64 bit windows 7, (but I'm actually using the 32 bit ODBC Data Source Administrator) I keep getting

Warning:[DataDirect][ODBC Progress OpenEdge Wire Protocol driver]Connection refused. Verify Host Name and Port Number.[DataDirect][ODBC Progress OpenEdge Wire Protocol driver] Unexpected Network Error. ErrNum = 10038

I've checked my host and it's correct, but I have no idea on the port number, I've checked connectionstrings and it says 2055, a couple other forums online give 20931 as I guess a default port number to use, but both of those aren't working for me. I've read this question, but it doesn't really go into specifics, neither does any documentation other than 'put in your port number.'

So, how do I find out my port number, or is just a one size fits all?

Community
user1532394

2 Answers

Port numbers are stored in /etc/services for unix, and C:WindowsSystem32driversetcservices for windows.

Each line looks like:

Pervasive v11. servicename 12345/tcp

so all you need to do is find the servicename in question, get it's corresponding port #, and plug that into your ODBC driver spec.

Tim KuehnTim Kuehn
2,8231 gold badge11 silver badges21 bronze badges

There is no default port number. The port name or number is specified in the database startup on the server. You should contact the administrator of the database and find out what it is. If there is no DBA search the log file (dbname.lg) for '-S'.

Tom BascomTom Bascom
9,5832 gold badges22 silver badges28 bronze badges