Connecting your smartphone to your computer via Wi-Fi router Opens up a host of possibilities: from fast wireless file transfers to remote device management or internet connection sharing. However, many users encounter difficulties setting up such a connection—sometimes the router doesn't detect one of the devices, sometimes the transfer speed leaves much to be desired, sometimes authentication errors occur.
In this article we will look at all current connection methods — from standard file sharing over a local network to advanced solutions like ADB over Wi-Fi or using specialized applications. We will pay special attention setting up a router, as its settings often cause problems. You'll learn how to set it up correctly. DHCP, which ports to open (and whether this is necessary at all), and how to bypass typical provider restrictions.
The instructions are suitable for devices on Android (including Samsung, Xiaomi, Google Pixel), iPhone (iOS 12 and later), as well as a PC running Windows 10/11, macOS or LinuxIf you're looking for a way to connect without a router (directly via Wi-Fi), we have a separate guide on this topic.
1. Preparing the router: key settings before connecting
Before connecting your smartphone and PC, make sure that your Wi-Fi router configured correctly. Configuration errors can prevent devices from seeing each other on the local network, even if both are connected to the same access point. Here's what to pay attention to:
- 🔄 Router operating mode: must be enabled
AP (Access Point)orRouter, and notRepeaterorBridgeIn the last two modes, the local network between devices may not work. - 📡 Wi-Fi range: if the router supports
2.4 GHzAnd5 GHz, select one band for all devices. Mixing bands sometimes leads to detection issues. - 🔒 Encryption type: use
WPA2-PSK (AES)orWPA3. ObsoleteWEPorWPA-TKIPnot only are they unsafe, but they can also block some data exchange functions. - 🌐 DHCP server: This must be enabled for devices to automatically obtain IP addresses. If DHCP is disabled, you'll need to assign addresses manually (instructions below).
To check these settings, go to your router's web interface. It's usually accessible at 192.168.0.1 or 192.168.1.1 (The exact address is indicated on the device's sticker). The default login and password are also on the sticker (most often admin/admin or admin/password).
⚠️ Attention: If your router is provided by your ISP (for example, Rostelecom, MTS or Beeline), some settings may be locked. In this case, please contact support and request that local network functions be unlocked.
2. Method 1: Transferring files over a local network (without additional programs)
The easiest way to share files between a smartphone and a PC is to use the operating system's built-in features. To do this, both devices must be connected to one router (Whether via Wi-Fi or cable is irrelevant). Let's look at the process using an example. Windows And Android.
Setting up on PC (Windows 10/11):
- Create a folder you want to share. For example,
C:\SharedFolder. - Right-click on the folder →
Properties→ tabAccess. - Click
Share→ select userAll(or create a new one) → set the resolutionReading and writing. - Go to the tab
Security→Change→ add userAlland give him full rights.
Connection from a smartphone (Android):
- Install any file manager with network support (for example, Solid Explorer or FX File Explorer).
- Open the menu
Net→LAN→Add. - Enter the IP address of your PC (you can find it out via
ipconfig(on the command line), username and password (if requested). - Connect to the folder and work with files as if they were local.
For iPhone the app will do FileExplorer or Documents by ReaddleThe connection algorithm is similar, but instead of SMB (Windows) you may need to enable AFP or WebDAV on PC.
Make sure both devices are on the same network|Disable VPN on your smartphone and PC|Check that Windows Firewall isn't blocking access|Restart your router if you're having connection issues-->
3. Method 2: Remote control of a PC from a smartphone (TeamViewer, AnyDesk)
If you need not only to transfer files, but also control your computer from your smartphone (for example, for presentations, technical support, or games), use specialized programs. The most reliable solutions are TeamViewer, AnyDesk And Chrome Remote DesktopThey all work over the internet, but offer higher speed and security for a local network (via a router).
Let's look at the setup using an example AnyDesk:
- Download and install AnyDesk on your PC from the official website. The first time you run the program, it will generate Device ID (For example,
123 456 789). - Install the mobile app AnyDesk on smartphone (Android or iOS).
- Enter your PC ID in the mobile app and click
Connect. - On your PC, confirm the connection (a request with an access code will appear).
To work in local network (without internet access) in the settings AnyDesk On your PC, enable the option Local connections onlyThis will speed up response and improve security.
⚠️ Attention: When you first connect, the program will ask for permission to access files and manage the device. Android 10+ And iOS 14+ You will also need to enable screen recording in your system settings.
| Program | Max. speed in local network | Management support | File transfer | Free version |
|---|---|---|---|---|
| TeamViewer | Up to 60 FPS | Complete | Yes | Yes (with limitations) |
| AnyDesk | Up to 120 FPS | Complete | Yes | Yes |
| Chrome Remote Desktop | Up to 30 FPS | Limited | No | Yes |
| Microsoft Remote Desktop | Up to 60 FPS | Full (Windows Pro only) | No | Yes |
4. Method 3: ADB over Wi-Fi for advanced users
If you are developing applications for Android or need deep access to your smartphone from a PC (for example, for debugging, installing software or backing up), use ADB over Wi-FiThis method requires some setup, but gives you full control over your device.
To work you will need:
- 🖥️ Computer with installed Android SDK Platform Tools (download from the website) Google).
- 📱 Smartphone on Android 5.0+ with USB debugging enabled.
- 🔌 Cable USB-Type C (for initial setup only).
Step-by-step instructions:
- Connect your smartphone to your PC via USB and turn it on.
USB debuggingin the developer settings (Settings → About phone → Build number- Tap 7 times to unlock the developer menu). - Open command prompt on your PC and go to the folder with
platform-tools. Enter the command:adb devicesMake sure the device is detected.
- Switch to Wi-Fi connection:
adb tcpip 5555 - Disconnect the USB cable and connect via IP:
adb connect 192.168.x.x:5555(replace
192.168.x.xto the real IP of the smartphone in the local network).
Now you can do anything ADBWireless commands. For example, to install an APK:
adb install app.apk
⚠️ Attention: After rebooting the smartphone, the port5555will close. To connect again, repeat the command.adb tcpip 5555(can be via USB or via an already established Wi-Fi connection).
How to find out the IP address of a smartphone on a local network?
Open Settings → Wi-Fi, tap on the name of your network → look at the line IP address (usually format 192.168.x.x). On iPhone path: Settings → Wi-Fi → (i) next to the network.
5. Method 4: Using specialized applications (FTP, HTTP server)
If standard methods don't suit you, you can deploy it on a smartphone FTP server or HTTP server for file sharing. This is convenient for one-time transfers of large amounts of data (such as photos or videos). Let's look at two popular apps:
1. FTP server (for example, FTP Server (for Android)
- Install the application FTP Server from Google Play.
- Start the server and write down the address (for example,
ftp://192.168.1.100:2221). - On your PC, open
Conductor→ enter the address in the address bar → connect (login/password are specified in the application).
2. HTTP server (for example, Simple HTTP Server)
- Install Simple HTTP Server and select the folder for continued access.
- Click
Start Server- a link of the following type will appearhttp://192.168.1.100:8080. - Open this link in your PC browser and download the files.
For iPhone the app will do FileExplorer with web server functionality. The algorithm is similar, but the FTP protocol is used instead. WebDAV.
6. Method 5: Sharing the Internet from a PC to a smartphone (reverse tethering)
If you have wired Internet on PC, but there is no Wi-Fi on the smartphone, you can set it up reverse tethering — sharing internet from a computer to a phone via a router. This is useful, for example, if your provider limits the number of devices on Wi-Fi but allows cable connections.
To do this:
- Connect your PC to the router via
Ethernet(cable). - On your PC, open
Control Panel → Network and Sharing Center → Change adapter settings. - Find yours
Ethernet connection, right-click →Properties→ tabAccess. - Check the box
Allow other network users to share your Internet connectionand selectWi-FiorLocal area network(depending on OS). - Connect your smartphone to the same router via Wi-Fi – the Internet should work.
⚠️ AttentionSome providers block reverse tethering at the plan level. If you still can't access the internet on your smartphone, check your contract terms or contact support.
7. Solving typical connection problems
Even with proper setup, errors can still occur. Here are the most common ones and how to fix them:
| Problem | Possible cause | Solution |
|---|---|---|
| The devices don't see each other | Different subnets (for example, PCs on 192.168.0.x, smartphone on 192.168.1.x) |
Configure DHCP on your router or assign static IP addresses on the same subnet. |
| Low transmission speed | Wi-Fi channel overload or usage 2.4 GHz |
Switch to 5 GHz or limit the number of connected devices |
| Authentication error (SMB/FTP) | Incompatible protocols or firewall blocking | Update your router firmware or temporarily disable your firewall. |
| ADB won't connect over Wi-Fi | Port 5555 busy or blocked by the router |
Try a different port: adb tcpip 5556 |
If none of the methods worked, check:
- 🔌 Physical connection: Reboot the router and both devices.
- 🛡️ Antivirus/firewall: Temporarily disable them on your PC.
- 📶 Wi-Fi channel: in the router settings, select the channel manually (for example,
6or11For2.4 GHz).
Frequently Asked Questions
Is it possible to connect without a router, directly via Wi-Fi?
Yes, but for this you need to create access point on one of the devices. For example, on a PC via Mobile hotspot (Windows 10/11) or on your smartphone via Modem modeHowever, in this case, the data exchange speed will be lower than through a router, due to protocol limitations. Wi-Fi Direct.
Why am I asked for a login and password when transferring files via SMB?
This is a standard Windows security measure. To remove the prompt, create a user with a simple password on your PC (e.g., guest/1234) and give it permissions to the folder. Or disable the password prompt in Control Panel → User Accounts → Manage Accounts → Change User Account Control settings (not recommended for public networks).
How to transfer files between iPhone and Windows?
The most reliable way is to use iCloud for Windows or iTunesFor a local network, the following application is suitable: Documents by Readdle (configured as a WebDAV server). You can also use AirDrop, but for this you need Mac or iPad as an intermediary.
Is it safe to use ADB over Wi-Fi?
ADB over Wi-Fi transmits data in clear text, so it is not recommended for use on public networks (cafes, airports). For a home network, the risk is minimal, but for additional protection, enable traffic encryption via a VPN or use ADB over SSH (requires root rights on your smartphone).
How to speed up file transfers over Wi-Fi?
1. Switch to a range 5 GHz (if the router supports it).
2. Use a protocol FTP instead of SMB - it is less demanding on resources.
3. Archive files before transferring (for example, in ZIP or RAR).
4. Disconnect other devices from the router during the transfer.