# How to Transfer Files Between Android, Windows, macOS and iPhone over Wi-Fi Without Internet: LocalSend Setup Guide

> AI Release · @ai_releaseorg · https://ai-release.org/guides/kak-peredavat-fayly-mezhdu-android-windows-macos-i-ipho_en.html

## AI summary

Time to complete: 15 minutes for two devices, 25 minutes for all four (Android, Windows, macOS, iPhone). You will need: LocalSend installed on each device (free, open source, cross-platform), all devices on the same Wi-Fi router or phone hotspot, no internet connection required after installation, TCP and UDP port 53317 free on every machine.

### Key facts

1. Time to complete: 15 minutes for two devices, 25 minutes for all four (Android, Windows, macOS, iPhone). (source: #tldr; status: заявление источника)
2. You will need: LocalSend installed on each device (free, open source, cross-platform), all devices on the same Wi-Fi router or phone hotspot, no internet connection required after installation, TCP and UDP port 53317 free on every machine. (source: #tldr; status: заявление источника)
3. Not required: an account, a cloud drive, a USB cable, or a router with internet access. (source: #tldr; status: заявление источника)
4. OS coverage: LocalSend ships builds for Android, iOS/iPadOS, Windows, macOS and Linux. Install the same major version family on all devices; mismatched versions are the usual cause of one-way transfers (check the release notes for the current version number — do not assume). (source: #requirements; status: заявление источника)
5. Network: one router or one hotspot, one subnet. Typical home LAN: 192.168.1.0/24. If one device is on 192.168.1.x and another on 192.168.50.x, discovery will not work. (source: #requirements; status: заявление источника)
6. Ports: LocalSend uses 53317 for both TCP and UDP by default. Confirm it on your build in the app's settings/about screen — if your build shows a different port, use that number in every command below. (source: #requirements; status: заявление источника)

### Direct answers

**What is required?** — OS coverage: LocalSend ships builds for Android, iOS/iPadOS, Windows, macOS and Linux. Install the same major version family on all devices; mismatched versions are the usual cause of one-way transfers (check the release notes for the current version number — do not assume).; Network: one router or one hotspot, one… (#requirements)
**How to do it?** — Step 1. Confirm the devices share one subnet and can reach each other → Step 2. Install LocalSend, set the receive mode, and open the firewall → Step 3. Send a file and verify the copy is byte-identical (#step-1)
**Which topics does it cover?** — localsend как пользоваться, передача файлов по wi-fi без интернета, аналог airdrop для android и windows, localsend не видит устройства, localsend настройка windows (#entities)
**What are the key points?** — Time to complete: 15 minutes for two devices, 25 minutes for all four (Android, Windows, macOS, iPhone). You will need: LocalSend installed on each device (free, open source, cross-platform), all devices on the same Wi-Fi router or phone hotspot, no internet connection required after installation,… (#tldr)

- Canonical: https://ai-release.org/guides/kak-peredavat-fayly-mezhdu-android-windows-macos-i-ipho_en.html
- Markdown: https://ai-release.org/guides/kak-peredavat-fayly-mezhdu-android-windows-macos-i-ipho_en.md
- JSON: https://ai-release.org/guides/kak-peredavat-fayly-mezhdu-android-windows-macos-i-ipho_en.json

## TL;DR
- **Time to complete:** 15 minutes for two devices, 25 minutes for all four (Android, Windows, macOS, iPhone).
- **Difficulty:** Basic.
- **You will need:** LocalSend installed on each device (free, open source, cross-platform), all devices on the same Wi-Fi router or phone hotspot, no internet connection required after installation, TCP and UDP port 53317 free on every machine.
- **Not required:** an account, a cloud drive, a USB cable, or a router with internet access.

## What you will get
- Every device in the room listed under "Nearby devices" in every other device's LocalSend window, with transfers running directly over the local network.
- A verified file transfer (checksum match on sender and receiver) with no traffic leaving your LAN.
- Persistent firewall and privacy permissions so the setup survives a reboot, plus a documented fallback (manual IP entry) for routers that block automatic discovery.

## Quick start

macOS / Linux:

```bash
brew install --cask localsend
ipconfig getifaddr en0
nc -z -u -v 192.168.1.42 53317
nc -z -v 192.168.1.42 53317
```

Windows (PowerShell as Administrator):

```powershell
winget install --id LocalSend.LocalSend -e
Get-NetIPAddress -AddressFamily IPv4 | Where-Object {$_.InterfaceAlias -like "*Wi-Fi*"}
New-NetFirewallRule -DisplayName "LocalSend TCP 53317" -Direction Inbound -Protocol TCP -LocalPort 53317 -Action Allow -Profile Private
Test-NetConnection -ComputerName 192.168.1.42 -Port 53317
```

Replace `192.168.1.42` with the IPv4 address of the *other* device. If `winget` reports that the package ID is unknown, download the installer from the official release page instead (check the documentation for the current link).

Details and verification — in the steps below.

## Requirements and setup
![Illustration: Requirements and setup](https://ai-release.org/guides/img/kak-peredavat-fayly-mezhdu-android-windows-macos-i-ipho-en-1.jpg?v=1796308987)

- **OS coverage:** LocalSend ships builds for Android, iOS/iPadOS, Windows, macOS and Linux. Install the same major version family on all devices; mismatched versions are the usual cause of one-way transfers (check the release notes for the current version number — do not assume).
- **Network:** one router or one hotspot, one subnet. Typical home LAN: `192.168.1.0/24`. If one device is on `192.168.1.x` and another on `192.168.50.x`, discovery will not work.
- **Ports:** LocalSend uses **53317** for both TCP and UDP by default. Confirm it on your build in the app's settings/about screen — if your build shows a different port, use that number in every command below.
- **Permissions:** administrator rights on Windows (for the firewall rule), macOS 15+ and iOS will ask for Local Network access on first launch.
- **Free disk space:** at least twice the size of the largest file you plan to send, because the receiver writes to its own storage.
- **Not supported:** guest Wi-Fi networks with client isolation, corporate VLANs that separate wireless clients, and any active VPN that routes local traffic off-LAN.

Pre-flight checklist:

- [ ] All devices connected to the same SSID
- [ ] VPN disabled on every device
- [ ] Port 53317 open in the host firewall
- [ ] Windows network profile set to Private
- [ ] Local Network permission granted on macOS and iOS

**Example:** laptop `192.168.1.10`, Android phone `192.168.1.42`, iPhone `192.168.1.51`, MacBook `192.168.1.12` — all four answer `ping`, so the subnet is fine.

If you are repurposing an old handset as a permanent receiver on this network, the hardware side is covered in [how to turn an old Android phone into a widget panel and second screen for your Windows PC](https://ai-release.org/guides/kak-prevratit-staryy-android-smartfon-v-panel-vidzhetov.html?utm_source=tg&utm_medium=channel&utm_campaign=guide_inline&utm_content=guide_to_guide); LocalSend just needs the phone to stay on the same Wi-Fi.

## Step 1. Confirm the devices share one subnet and can reach each other

**What to do:** read the IPv4 address on every device, then ping each pair.

| OS | Command / path to the local IP |
|---|---|
| Windows | `ipconfig` → "IPv4 Address" under the Wi-Fi adapter |
| macOS | `ipconfig getifaddr en0` |
| Linux | `ip addr show` |
| Android | Wi-Fi settings → gear icon on the connected network → IP address |
| iPhone | Settings → Wi-Fi → (i) next to the network name |

**Why:** LocalSend finds peers by broadcasting on the local subnet. If the router isolates clients (a setting usually called "AP isolation" or "client isolation", common on guest networks), the broadcast never arrives and no amount of reinstalling helps.

**How to check:**

```bash
ping -c 4 192.168.1.42
```

Expected output ends with `4 packets transmitted, 4 received, 0% packet loss`. On Windows the equivalent is `ping 192.168.1.42`; success looks like `Reply from 192.168.1.42: bytes=32 time=4ms TTL=64`. If you see `Request timed out` four times, stop here — the problem is the network, not the app.

**Example:** on a FritzBox, "Guest access" is on and the phone sits on the guest SSID while the laptop is on the main SSID. Ping fails. Moving the phone back to the main SSID fixes discovery without touching LocalSend.

**Why this works:** a successful ICMP reply proves routing inside the subnet, which is exactly the path LocalSend's discovery packets take.

## Step 2. Install LocalSend, set the receive mode, and open the firewall
![Illustration: Step 2. Install LocalSend, set the receive mode, and open the firewall](https://ai-release.org/guides/img/kak-peredavat-fayly-mezhdu-android-windows-macos-i-ipho-en-2.jpg?v=1796308994)


**What to do:** install the app on all four devices, give each one a unique, recognisable name, and allow the inbound port.

```powershell
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceAlias "Wi-Fi" -NetworkCategory Private
New-NetFirewallRule -DisplayName "LocalSend UDP 53317" -Direction Inbound -Protocol UDP -LocalPort 53317 -Action Allow -Profile Private
```

```bash
# macOS: verify the app is listening after launch
lsof -nP -iUDP:53317
```

**Why:** Windows treats an unrecognised network as "Public" and blocks inbound connections by default, so the phone can see the PC in the list but every transfer dies at the TCP handshake. UDP 53317 carries the discovery announcements; TCP 53317 carries the actual file data. Both are needed.

In the app settings on each device:

1. **Device name** — set something unambiguous: `DESKTOP-01`, `Pixel-7-Irene`, `MBP-Kitchen`. Duplicate names make the receiver picker ambiguous.
2. **Encryption (HTTPS)** — leave it on. LocalSend serves transfers over HTTPS with a self-signed certificate, so the payload is encrypted even though there is no internet.
3. **Quick Save** — off if you want to approve each incoming transfer manually (safer on a shared network); on if the device is a dedicated receiver.
4. **Save location** — note the folder; on desktop it is a `LocalSend` subfolder inside Downloads by default.

On macOS and iOS, accept the system prompt `"LocalSend" would like to find and connect to devices on your local network.` Denying it silently breaks discovery.

**How to check:** launch the app on two devices. Within a few seconds each device name appears in the other's "Nearby devices" list. Cross-check from the shell:

```bash
nc -z -v 192.168.1.42 53317
```

Expected: `Connection to 192.168.1.42 port 53317 [tcp/*] succeeded!`. If it hangs, the firewall rule is missing or bound to the wrong profile.

**Example:** the PC shows `Pixel-7-Irene` but the transfer button reports a connection time-out; `Get-NetConnectionProfile` shows `NetworkCategory : Public`, which means the new rule (scoped to `-Profile Private`) was never applied. Switching the profile fixes it.

## Step 3. Send a file and verify the copy is byte-identical

**What to do:** send one large file (a video over 500 MB is a realistic test), then compare SHA-256 hashes on both ends.

```bash
shasum -a 256 ~/Downloads/LocalSend/IMG_2041.MOV
```

```powershell
Get-FileHash .\IMG_2041.MOV -Algorithm SHA256
```

**Why:** a matching hash proves the transfer completed, not merely started. LocalSend shows a progress bar and a session log with the sender name, file count and total size — but the hash is the only evidence the bytes are intact.

**How to check:** both commands print the same 64-character hexadecimal digest.

```
a3f1c0e9b47d2f5a8c6e1d0b93f4a27c5e8d1b6f0a9c3e7d2b5f8a1c4e6d0b93  IMG_2041.MOV
```

Success looks like: the file appears in the receiver's save folder, the app lists it in the session history with status completed, and the two hashes are identical. A truncated file produces two different digests even though the app reported success — that is the case the hash check catches.

**Example:** iPhone → Windows over a phone hotspot. The iPhone shows `Sent`, the PC shows the file in `C:\Users\<user>\Downloads\LocalSend\`, and `Get-FileHash` matches `shasum` on the iPhone-side copy exported via Files.

**Where it does NOT work:** if the receiver goes to sleep mid-transfer the session drops and the partial file stays in the save folder. Delete it before retrying, otherwise the next transfer appends to a corrupt file and the hash will never match.

## Troubleshooting

**Problem. Device list stays empty on both screens; manual "Enter IP address" fails instantly.**
- Error: `SocketException: Connection refused (OS Error: Connection refused, errno = 111)` (Linux/macOS wording may differ slightly by platform)
- Cause: client isolation on the router, an active VPN, or the host firewall dropping port 53317. The manual-IP path bypasses discovery, so a refusal here proves it is a port/filtering problem, not multicast.
- Solution: disable the VPN, then re-test the port — `nc -z -v 192.168.1.42 53317`. If it still refuses, add the inbound rule with `-Profile Any` and confirm with `Test-NetConnection -ComputerName 192.168.1.42 -Port 53317`, which should print `TcpTestSucceeded : True`. If it still fails, move both devices off the guest SSID.

**Problem. Windows shows a security dialog the first time a phone connects.**
- Error: `Windows Defender Firewall has blocked some features of this app`
- Cause: the app was launched before a rule existed and the network profile is Public, so Windows created a block entry.
- Solution: allow it for Private networks in the dialog, then verify from PowerShell: `Get-NetFirewallRule -DisplayName "LocalSend*" | Select DisplayName,Enabled,Profile`. Both rules (TCP and UDP) must show `Enabled : True` and `Profile : Private`.

**Problem. macOS or iPhone receives nothing, sender eventually gives up.**
- Error: `TimeoutException` on the sender side after the progress bar stalls at 0%
- Cause: the Local Network permission was declined, so outgoing discovery packets are dropped by the OS.
- Solution: System Settings → Privacy & Security → Local Network → enable the LocalSend toggle, then quit and relaunch the app. Re-test with a single small file before sending a large one.

## Summary and next steps
You now have all four platforms discovering each other on the LAN, port 53317 open on the right firewall profile, and a checksum-verified transfer that never touches the internet. If you want to go further with the same hardware, [run an AI model locally on Android](https://ai-release.org/guides/kak-zapustit-ii-model-lokalno-na-android-prilozheniya-i.html?utm_source=tg&utm_medium=channel&utm_campaign=guide_inline&utm_content=guide_to_guide) so the offline workflow covers processing as well as moving files — and check [how to revoke Facebook's access to your gallery on Android](https://ai-release.org/guides/kak-zapretit-facebook-dostup-k-galeree-na-android-posha.html?utm_source=tg&utm_medium=channel&utm_campaign=guide_inline&utm_content=guide_to_guide) to keep cloud apps out of the folders LocalSend writes to.

## FAQ

**Does LocalSend need an internet connection?**
No. After the app is installed, all discovery and transfer happens on the local network. The internet is needed exactly once — to download the installer.

**Which port does LocalSend use?**
53317, for both TCP (file data) and UDP (device discovery) by default. If your build differs, use that value in the firewall rules and in every `nc`/`Test-NetConnection` check.

**Can I transfer from an iPhone to a Windows PC?**
Yes. Every supported platform can act as both sender and receiver; the only requirement is the shared subnet and the open port on the receiver.

**Does it work over a phone hotspot with no router?**
Yes. Both devices connect to the hotspot and get addresses in the same subnet. The one thing to check is that the hotspot is not isolating clients — if ping between the two devices fails, the hotspot is the cause, not LocalSend. If your build exposes a different default port or a PIN option, check the documentation before changing anything.
