code: public WalletAppKit connectToLocalHost() {
          try {
              final InetAddress localHost = InetAddress.getLocalHost();
              return setPeerNodes(new PeerAddress(params, localHost, params.getPort()));
          } catch (UnknownHostException e) {
              // Borked machine with no loopback adapter configured properly.
              throw new RuntimeException(e);
          }
      }
docs: Will only connect to localhost. Cannot be called after startup.