cURL Error #:Could not resolve host:

The grbgetkey command requires an active internet connection. If your computer has no internet access, or you get no response or an error message such as “Unable to contact key server”, Please click here for additional instructions.


Additional Instructions

To install a license key automatically, the grbgetkey program needs to be able to communicate with the Gurobi website ( It may fail if the computer:

  • has no Internet connection
  • has restricted access due to a firewall
  • uses a proxy server


Alternately, here are manual instructions to obtain or update a license key file for your computer.

  1. Run the grbprobe command on the computer where the license will be installed.
  2. Complete the following form using the output from the grbprobe command:
    No ID is set


  1. Click here to download the gurobi.lic file to your computer.
  2. Move the gurobi.lic file as explained in the Quick Start Guide.

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.