There are many cases where a CAE application fails to connect to the license server and cannot be started. I will leave how to check the connection to the license server.
The host name and port number of the license server are assumed to be as follows. --Hostname: theserver --Port number: 8888
First, check if you can connect to the host with the ping command.
command prompt
ping theserver
After confirming the connection to the host, confirm the connection to the port.
PowerShell
PowerShell
$tcp = New-Object System.Net.Sockets.TcpClient
# $tcp = New-Type in Object tcp and press the Tab key to complete.
$tcp.Connect("theserver", 8888)
$tcp.Connected
If you can connect
True
If you cannot connect
False
Python
IPython
import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(('theserver', 8888))
If you can connect
(No output)
If you cannot connect
ConnectionRefusedError: [WinError 10061]The connection could not be made because it was rejected by the target computer.
Recommended Posts