1.Download the SDK Platform Tools on your PC.
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
2.Unzip and open the platform-tools folder
3.Type "cmd" in the address bar and press Enter
4.Turn on USB debugging for developer options
5.Connect your PC and smartphone with a USB cable.
6.Type "adb devices" at the command prompt and press Enter
7.If you see something in the "List of devices attached" section, you are ready to go
8.Type "adb tcpip 5555" at the command prompt and press Enter
9.restarting in TCP mode port: 5555 is displayed, success