<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55954>55954</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Lldb failed connect port (android)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          SilasMo
      </td>
    </tr>
</table>

<pre>
    I currently dont have a pc. I have two rooted devices `Arm64` host device with Debian rootfs and the device to be debugged which contains the lldb-server binary `armv7`. I am trying to remote debug my android device using lldb. I pulled the `lldb-server` binary from àndroid ndk24 and put it in `/data/local/tmp`. Installed `Debian` `Sid` on `Another term` and `apt` installed `lldb`. 

I then wifi hotspoted the client device(one with `lldb-server`) using the host with the linux rootfs.

The commands i ran on server device
```
./data/local/tmp/lldb-server platform --listen "*:2000"  --server
```
Checked using `netstat` and the lldb-server had bound to all addresses(`0.0.0.0:2000`)

On host(client `lldb`) device in `debian sid` terminal i ran:
```
apt install lldb
lldb
platform select remote-android
platform connect connect://192.168.201.132:2000
```
Then i get `error failed connect port`.

I have using `Gdb using the same machines on the same network and it worked nicely. I have tried installing `lldb` on `debian buster` but same result and even ran the `lldb-server` binary on the host(device with `debian sid`) but same result. Right now im stuck here. How do I solve this? 

Help will be greatly appreciated. Thank you. 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9VV2P6jYQ_TXhZUSUOMCFhzzQXdG7UqtKvfsHHMckLo4d2Q6Uf98Zx9nl7kUVAcdfc2bOmRka297rNxCTc9IEfYfWmgA9v0rgMIoc3uZJuFlw1gbZQiuvSkgP2a44umG3wRF660PagJsKPbzKRnETr5w9cNNC6OVyIlhoaNJMXYcGb70SPQgE5sr4eFDrtll76a7SQaMMd3eC4264fsORvOIDBHdXpiNrTg7o2mwRhjvhOasWV2HydI5s0s1x0lrO_qCtByQKJIGdnR0ge6myY5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