title: django.db.utils.OperationalError: ('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')
body: <p>Getting the above mentioned error while running a django web app which requires creating a database in sql server. I am running my code on UBUNTU 18.04 LTS HOSTED ON A Windows 10 computer.</p>
  <p>My base.py file:</p>
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'sql_server.pyodbc',
          'HOST':'localhost,1433', ## to be used in Linux OS
          'NAME':'dbname',
          'USER':'sa',
          'PASSWORD':'#######',
          'OPTIONS': {
              'driver': 'ODBC Driver 17 for SQL Server',
              'host_is_server': True,
              },
          }
      }
  
  quoted = urllib.parse.quote_plus('driver={ODBC Driver 17 for SQL Server};server=localhost,1433;database=dbname;UID=sa;PWD=#######;Encrypt=yes;TrustServerCertificate=yes;Connection Timeout=30;')
  </code></pre>
  <p>My SQL Server consists of the following:
  <em>1. An initial login by the name of 'sa'
  2. A DB by the name of 'dbname'</em>
  My Django version: 3.0.6
  My Python version: 3.6.9</p>
  <p>Please ley me know if more info is required. Very naive to coding!</p>