I'm new with Freeipa.
I'm using:
ipa --version
VERSION: 4.4.3, API_VERSION: 2.215

I've been trying to install Freeipa in ubuntu 16.04 and ubuntu 17.04 , but I get an error:

#ipa-server-install
........................
[26/31]: restarting certificate server
[27/31]: migrating certificate profiles to LDAP
  [error] NetworkError: cannot connect to 'https://ubuntu.ipa.cu:8443/ca/rest/account/login': Could not connect to ubuntu.ipa.cu using any address: (PR_ADDRESS_NOT_SUPPORTED_ERROR) Network address type not supported.
ipa.ipapython.install.cli.install_tool(Server): ERROR    cannot connect to 'https://ubuntu.ipa.cu:8443/ca/rest/account/login': Could not connect to ubuntu.ipa.cu using any address: (PR_ADDRESS_NOT_SUPPORTED_ERROR) Network address type not supported.
ipa.ipapython.install.cli.install_tool(Server): ERROR    The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

The output of #tail -f /var/log/ipaserver-install.log command is:
  File "/usr/lib/python2.7/dist-packages/ipaserver/plugins/dogtag.py", line 1290, in __enter__
    method='GET'
  File "/usr/lib/python2.7/dist-packages/ipapython/dogtag.py", line 156, in https_request
    method=method, headers=headers)
  File "/usr/lib/python2.7/dist-packages/ipapython/dogtag.py", line 207, in _httplib_request
    raise NetworkError(uri=uri, error=str(e))

2018-02-05T14:49:51Z DEBUG The ipa-server-install command failed, exception: NetworkError: cannot connect to 'https://ubuntu.ipa.cu:8443/ca/rest/account/login': Could not connect to ubuntu.ipa.cu using any address: (PR_ADDRESS_NOT_SUPPORTED_ERROR) Network address type not supported.
2018-02-05T14:49:51Z ERROR cannot connect to 'https://ubuntu.ipa.cu:8443/ca/rest/account/login': Could not connect to ubuntu.ipa.cu using any address: (PR_ADDRESS_NOT_SUPPORTED_ERROR) Network address type not supported.
2018-02-05T14:49:51Z ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

What's wrong?
Please, answer me via this email, I'm not member of the freeipa-users list.