Contact Us

If you still have questions and are an active SimuTech customer, please submit a request.

  • Ansys Training
  • Skills Center
  • Consulting
  • About
  • Contact Support
  • Home

  • Installation

      • Troubleshooting

          • Errors & Solutions

              • License Management

                  • Info

                      • Remote Solve Manager

                          • Employee Login

                          Can't find what you're looking for?

                          Contact Support

                          Installation & Licensing Center

                          • Home
                          • Installation
                            Installation Guides Installation Tasks Requirements & Info Optional Configurations Uninstallation
                          • Troubleshooting
                            Troubleshooting Guides License Manager Connectivity Issues License Checkout Issues Application Functionality Issues Windows OS / Hardware Issues CAD Plugin Issues Project Specific Issues Uninstallation Guides Diagnostic Resources & Logs Other Tasks
                          • Errors & Solutions
                            Behavior Based Issues & Solutions Error Messages & Solutions
                          • License Management
                            FlexNet Licensing Shared Web Licensing Elastic Licensing Licensing Portal Administration License Borrowing Reporting & Usage Stats Other
                          • Info
                          • Remote Solve Manager
                          + More

                          HOW TO - Edit the Windows Hosts File

                          Authored by Caleb Scharf November 3rd, 2026 12906 views 6 likes KB1095134

                          Description

                          Use this workaround when a computer can reach the Ansys license server by IP address, but not by hostname (computer name). This points to a problem with your Domain Name System (DNS) server configuration, which we commonly see with VPNs.

                          We recommend fixing the DNS problem itself, because other users are likely affected too. When that is not feasible, edit the local Windows hosts file on the affected computer to work around it. 

                           

                          Specify the License Server by Hostname

                          Always specify your Ansys license server by hostname (computer name) in the Ansys Client Licensing Settings utility. You can enter an IP address there, but some Ansys software features do not work with an IP address. See HOW TO - Specify an Ansys License Server.

                           

                           

                          Solution

                          Work-Around for This Computer Only

                          This fixes the problem only on the computer you edit, not on other computers on the network. Fix the DNS problem whenever you can.

                           

                           

                          Edit the Hosts File

                          1. Open Windows Search, search for Notepad, then right-click it and select Run as administrator.
                          2. In Notepad, select File ➜ Open.
                          3. Browse to the folder below, select All files from the file type drop-down, then open the file called hosts.
                            C:\Windows\System32\drivers\etc
                          4. At the end of the file, add a new line with your license server's IP address, a space, then its hostname. Then select File ➜ Save.

                            Note: The line looks like server_ip_address server_hostname. Replace server_ip_address with your license server's IP address, and server_hostname with its hostname.


                           

                          Verify It Worked

                          1. Repeat the action that failed before. If it now works, you are done.
                          2. If the problem continues, test the connection to the license server and troubleshoot further with HOW TO - Test & Fix FlexNet License Manager Connectivity Issues.

                          Was this helpful?

                          Yes
                          No

                          6 out of 9 found it helpful

                          Related Articles

                          HOW TO - Reset Your Ansys License File

                          HOW TO - Run Product & CAD Configuration Manager

                          HOW TO - Open PowerShell

                          Ansys Troubleshooting Guide

                          Popular Articles

                          Ansys Download & Installation Guide

                          INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

                          HOW TO - Uninstall Ansys Software

                          HOW TO - Test & Fix FlexNet License Manager Connectivity Issues

                          HOW TO - Install an Ansys FlexNet License Key/File

                          Was this helpful?

                          Yes
                          No
                          Give feedback about this article

                          Can't find what you're looking for?

                          Contact Support

                          Recently Updated

                          • ERROR - The application requires the use of OpenGL version 4.3 (Ansys Mechanical)
                          • HOW TO - Install Ansys MCP Servers (VS Code & GitHub Copilot)
                          • HOW TO - Run Product & CAD Configuration Manager
                          • ERROR - Gather Diagnostic Information Fails with NoClassDefFoundError CountingOutputStream on Linux
                          • HOW TO - Download the Ansys Electronics Package (HFSS, Maxwell, Icepak, SIwave, Nuhertz)
                          • INFO - Ansys Hardware Recommendations & Supported 3rd Party Software
                          • HOW TO - Obtain Usage Data for Usage Reporting
                          • HOW TO - Fix Ansys Installation / Functionality Issues
                          • HOW TO - Edit the Windows Hosts File
                          • General Inquiries & Sales:
                          • (800) 566-9190
                          • Info@SimuTechGroup.com
                          • Contact Support
                          • Software
                          • Services
                          • Case Studies
                          • Ansys Training
                          • Consulting
                          • Technical Support
                          • About SimuTech
                          • Careers
                          • Privacy

                          © 2025 SimuTech Group


                          Knowledge Base Software powered by Helpjuice

                          Definition by Author

                          0
                          0
                          Expand NEW TAB

                          Hi there! 👋

                          How are you liking the Installation Center?

                          Terrible

                          Bad

                          OK

                          Good

                          Excellent

                          Feedback Successfully submitted