Python SDK V1 errors

I’m still using the Python SDK V1 just to little tests and I get this errors:

  File "/home/pi/.local/lib/python3.7/site-packages/algosdk/", line 231, in suggested_params
    return self.algod_request("GET", req, **kwargs)
  File "/home/pi/.local/lib/python3.7/site-packages/algosdk/", line 70, in algod_request
    resp = urlopen(req)
  File "/usr/lib/python3.7/urllib/", line 222, in urlopen
    return, data, timeout)
  File "/usr/lib/python3.7/urllib/", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.7/urllib/", line 543, in _open
    '_open', req)
  File "/usr/lib/python3.7/urllib/", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.7/urllib/", line 1345, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.7/urllib/", line 1319, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>

Is this beacuse the deprecated Python SDK V1 has been already dismessed or something else?

Where are you trying to connect? The above appears to be the main error which may come from a mismatched URL or port.