In the context of SOLIDWORKS, "blocking" in the hosts file is typically a troubleshooting technique used to bypass DNS issues by explicitly mapping server names to IP addresses. Conversely, the hosts file can also be used to intentionally block network communication for licensing or update purposes. Purpose of Modifying the Hosts File
Activation Failures: You will be unable to activate, reactivate, or transfer your license. Solidworks Host File Block
Read-Only Attributes: Ensure the file is not locked by the system or another open application. In the context of SOLIDWORKS, "blocking" in the
Important: Change the file type filter in the bottom right corner from Text Documents (*.txt) to All Files to see the hosts file. 3. Add the Server Entry Example: If your internal license server is at 192
By doing this, whenever the pirated SolidWorks software tries to "phone home" to check if the license key is valid, the request hits a wall (your local computer) and fails. The software then stays in an "offline" or "activated" state indefinitely.
ipconfig /flushdns
Example: If your internal license server is at 192.168.1.50 but SolidWorks insists on looking for license.solidworks.com, you can add:
192.168.1.50 license.solidworks.com