Hello everyone, I am developing an application on Flutter in Dart, using an external API for algorithm, this is the library used: https: //github.com/RootSoft/algorand-dart
I am trying to use kmd to get new addresses but every time I try I get connection errors like: SocketException: OS error: connection refused, errno = 111, address = localhost, port = 57838 # 0
I understand that I am doing something wrong with the connection to the node and the http communication ports but I don’t know how to set them to make them work correctly.
For the node I use docker sandbox.
This is the code from which I get the error:
Future<String> createNewAddress() async {
    final walletRequest = (CreateWalletRequestBuilder()
      ..walletName = 'wallet'
      ..walletPassword = 'test'
      ..walletDriverName = '')
        .build();
    final handleTokenRequest = (InitWalletHandleTokenRequestBuilder()
        ..walletId = 'wallet'
        ..walletPassword = 'test')
          .build();
    final keyRequest = (GenerateKeyRequestBuilder()
      ..displayMnemonic = true
      ..walletHandleToken = 'aa')
        .build();
      final response = await algorand.kmd.createWallet(createWalletRequest: walletRequest);
      final handleToken = await algorand.kmd.initWalletHandleToken(initializeWalletHandleTokenRequest: handleTokenRequest);
      final address = await algorand.kmd.generateKey(generateKeyRequest: keyRequest);
      return address.toString();
  }
Thank you so much for anyone who has the time and willingness to listen to me