ADBDevice & ConnectionSafe
adb connect <ip>:<port>
Connect over Wi-Fi / TCP
What It Does
Establishes a wireless ADB connection to an Android device over TCP/IP using its IP address and listening port (default 5555).
Command Syntax
Terminal
$
adb connect <host>[:<port>]Parameters & Placeholders Breakdown
This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:
<host>Device IP Address or HostnameThe local Wi-Fi IPv4 address or hostname assigned to the Android device on your local network.
Real-world value:192.168.1.105
Command syntax:
adb connect 192.168.1.105:5555Find this in Android Settings > About Phone > Status > IP Address.
<port>Network Port NumberThe TCP network port number used for ADB daemon communication over Wi-Fi or USB forwarding.
Real-world value:5555
Command syntax:
adb tcpip 5555 (or: adb connect 192.168.1.50:5555)Port 5555 is the standard default port for ADB over Wi-Fi. Ports below 1024 require root privileges.
<ip>IP ParameterReplace this placeholder with your specific ip value.
Real-world value:your-ip
Command syntax:
adb connect <host>[:<port>]Usage Examples
$
adb connect 192.168.1.105:5555$
adb connect 10.0.0.42Options & Flags
| Flag / Parameter | Description |
|---|---|
| <port> | Port number opened by adb tcpip (defaults to 5555). |
Prerequisites & Requirements
- Device and host on same Wi-Fi network
- ADB TCP mode enabled via adb tcpip 5555 or Android 11+ Wireless Debugging
Related Commands
Found an error or missing flag for
adb connect <ip>:<port>?Submit a correction or request additional examples on GitHub.
Having issue? Contact @mkr_infinity
Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.