Skip to content

[bug] [docs] netcat / nc is not working as described and with wrong help text. #589

Description

@eabase

I've been experimenting using the toybox nc to try to connect from my Windows Host PC, to the Android Studio AVD instance. None of the commands suggested works. I can see the text in the terminal, but the actual commands never execute.

# Terminal-1 in AVD:
nc -4 -s 127.0.0.1 -p 8888 -L sh -l

# response from below commands 
: inaccessible or not found
: inaccessible or not found


# Terminal-2 in Windows-11, windows Terminal + powershell, and using nmap ncat
adb forward tcp:8888 tcp:8888

ncat -v -4 -C 127.0.0.1 8888
Ncat: Version 7.98 ( https://nmap.org/ncat )
Ncat: Connected to 127.0.0.1:8888

ls
id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions