How to resolve Statistica licensing issues when connecting via a VPN (Virtual Private Network)?

How to resolve Statistica licensing issues when connecting via a VPN (Virtual Private Network)?

book

Article ID: KB0077138

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.3.0 and higher.

Description

A typical issue when launching Statistica on a client/workstation when using a VPN.  Typically Statistica is installed on a laptop on the same LAN and Statistica will launch as usual.  But when trying to launch Statistica remotely while using a VPN, the following error occurs:

Cannot connect to server

Caues: One known cause is DNS issues.  

 

Issue/Introduction

This article discusses an issue when launching Statistica remotely when using a VPN.

Environment

Windows operating system only. Statistica Server and CNET-type installs.

Resolution

SOLUTION ONE

For DNS issues, pinging the license server via the hostname from client/workstation will usually result in failure, like below:

Can't ping license server by hostname

However, when issuing the ping command with the IP address is successful:  
ping <ip address of license server> 

Ping by ip address successful

If the ping of the hostname fails but the ping of the IP address of the license server is successful, then change the pointer license on the client/workstation so that is uses the IP address of the license server by following these steps:
1.  Open the pointer license file, stat.lic, using Notepad. Typically located at C:\Program Files\Statistica\Statistica <version #>\
2.  Change the hostname to the IP address of the licensing server:
Change hostname to ip address in stat.lic file
3. Save the file to another location, like the desktop location, and then copy/paste the new file into the Statistica application path (C:\Program Files\Statistica\Statistica <version #>\).  

Statistica should launch pointing to the license service by ip address.

 
 SOLUTION TWO

Modify the hosts file in on the client/workstation.  This will map the IP address to the hostname of the license server.  To change the hosts file, follow these steps:

1.  Click on Start, then Run and type in % systemroot%\system32\drivers\etc and press the Enter key.
2.  Open hosts file with Notepad.
3.  Add a line to the host file like the following:

host file change adding a line
4.  Save the file (do not save as a .txt file):
Save an unassociated file

Statistica should now launch since the hostname has been translated to the IP address.