Comment corriger l'erreur "SOLIDWORKS ne peut pas se connecter au serveur de licences" ?

Article by Alaa Hosn updated January 10, 2023

Article

You’ve just set up the SolidNetWork License (SNL) manager and you see the licenses available on the server, but the client machine fails to obtain the license when opening the product. You see an error message “SOLIDWORKS cannot connect to license server” that looks like the one below or a similar variation.

SOLIDWORKS Cannot Connect

SOLIDWORKS Cannot Connect

Why SOLIDWORKS cannot connect to license server

If you’ve confirmed that the SNL manager is the same version year on both the server and client machines, then the problem may be coming from the Windows firewall.

The SNL manager communicates across ports 25734 and 25735 to ensure that SOLIDWORKS products can obtain a license. Sometimes your Windows firewall may be blocking communication across these ports, so the solution is as easy as adding an inbound and outbound port exception.

Most of the time, setting up port exceptions from the server machine will be enough, however, there are times when the steps may need to be done on the client side as well. It is never a bad idea to set up these port exceptions, but to test whether the firewall may be the issue before setting up the exceptions you can try disabling your firewall to see if that makes a difference.

If the problem is resolved when disabling the firewall then setting up the port exceptions should resolve the issue, turn the firewall back on and set up the port exceptions. If the problem persists with the firewall disabled then the communication may be blocked by something outside of the firewall.

Users can follow the steps below to set up an inbound and outbound port exception to unblock the SNL manager from the Windows firewall.

Setting up port exceptions for the SNL

  1. On the server machine, select Start menu and search for Windows Defender Firewall.

    Windows defender firewall

    Windows defender firewall

  2. In the left pane, select the “Advance settings” link.
Windows Defender Firewall Advanced Settings

Windows Defender Firewall Advanced Settings

  1. Select “Inbound Rules” and choose “New Rule.”

    Inbound rules

    Inbound rules

  2. Select “Port” and click the “Next” button.

    New Inbound rule wizard

    New Inbound rule wizard

  3. Make sure “TCP” is selected. Then, type “25734, 25735” (without quotation marks) for the “Specific local ports” field and click the “Next” button.

    Specific local ports

    Specific local ports

  4. Select “Allow the connection” and then click the “Next” button.

    Action step: allow the connection

    Action step: allow the connection

  5. Select the desired profile to apply the exception. (Select all the profiles if unsure.)

    Choose profile to apply

    Choose profile to apply

  6. Enter a name for the rule and click on the “Finish” button.

    Final new inbound rule step - name and finish

    Final new inbound rule step – name and finish

  7. Repeat steps 3-8 for Outbound Rules as well

Additional ports to consider adding for other products can be found here:

  • SQL Server – Port 1433 TCP
  • SQL Server – Port 1434 TCP and UDP
  • PDM Archive Sever – Port 3030 TCP and UDP
  • PDM Web2 Server – Port 80 TCP
  • PDM Web2 Server – Port 443 TCP
  • Electrical Collaborative Server – Port 26666-26672 TCP

NOTE: multiple ports can be entered in step 5 if you have additional ports to unblock (e.g., “25734,25735, 1433, 1434, 3030”).

If you’re an active client on subscription and you’re still having trouble connecting to the license manager, reach out to our support team for additional help!

Trouver du contenu connexe par TAG :

Alaa Hosn

Alaa est un consultant en solutions qui fait partie de l'équipe TriMech depuis 2018. Il a commencé dans le support et a construit une base solide sur la façon de diagnostiquer et de dépanner SOLIDWORKS et les problèmes électriques couvrant toutes les gammes de sujets, des installations aux problèmes de performance. Alaa est basé à Richmond, VA et possède un diplôme en génie mécanique de Virginia Tech. Il a obtenu son CSWE parmi d'autres certifications SOLIDWORKS et continue d'en obtenir d'autres !