title: Trying to connect to an API and opened MySQL port so it would work, but terminal just hangs
body: <p>I'm trying to connect to the <code>zcrmsdk</code> python API by Zoho CRM. </p>
  
  <p>At first when I would try to connect the API would tell me that the MySQL database refused connection and couldn't connect on port 3306. Here's the error:</p>
  
  <pre><code>  File "/Users/hgducharme/Programming/Environments/SentriForceEnvironment/lib/python3.7/site-packages/mysql/connector/network.py", line 512, in open_connection
      errno=2003, values=(self.get_address(), _strioerror(err)))
  mysql.connector.errors.InterfaceError: 2003: Can't connect to MySQL server on '127.0.0.1:3306' (61 Connection refused)
  </code></pre>
  
  <p>So next I opened up port 3306 on my localhost by running <code>nc -l localhost 3306</code>. </p>
  
  <p>Now when I send the command to connect to the API, my terminal just hangs.</p>
  
  <p>Here is my python code to connect with the API:</p>
  
  <pre><code>from zcrmsdk import ZCRMRestClient, ZohoOAuth
  
  # Tell Zoho it's me
  config = {
      'sandbox': 'False',
      'applicationLogFilePath': './log',
      'client_id': '1000.xxxxxxxxxxxxxxxx'
      'client_secret': 'e9xxxxxxxxxxxxxxxxxxxxxxxxx',
      'redirect_uri': 'http://localhost:8000/some_path',
      'accounts_url': 'https://accounts.zoho.com',
      'token_persistance_path': '.',
      'currentUserEmail': 'email@gmail.com'
  }
  
  # Get an access token
  ZCRMRestClient.initialize(config)
  oauthClient = ZohoOAuth.get_client_instance()
  grantToken = "1000.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  oauthTokens = oauthClient.generate_access_token(grantToken)
  </code></pre>