Canonical: https://ai-release.org/guides/kak-peredavat-fayly-mezhdu-android-windows-macos-i-ipho.html · Markdown · JSON · Updated: 2026-12-03
macOS / Linux:
brew install --cask localsend
ipconfig getifaddr en0
nc -z -u -v 192.168.1.42 53317
nc -z -v 192.168.1.42 53317Windows (PowerShell as Administrator):
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 53317Replace 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.

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.Pre-flight checklist:
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; LocalSend just needs the phone to stay on the same Wi-Fi.
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:
ping -c 4 192.168.1.42Expected 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.

What to do: install the app on all four devices, give each one a unique, recognisable name, and allow the inbound port.
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# macOS: verify the app is listening after launch
lsof -nP -iUDP:53317Why: 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:
nc -z -v 192.168.1.42 53317Expected: 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.
What to do: send one large file (a video over 500 MB is a realistic test), then compare SHA-256 hashes on both ends.
shasum -a 256 ~/Downloads/LocalSend/IMG_2041.MOVGet-FileHash .\IMG_2041.MOV -Algorithm SHA256Why: 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.MOVSuccess 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.
Problem. Device list stays empty on both screens; manual "Enter IP address" fails instantly.
SocketException: Connection refused (OS Error: Connection refused, errno = 111) (Linux/macOS wording may differ slightly by platform)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.
Windows Defender Firewall has blocked some features of this appGet-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.
TimeoutException on the sender side after the progress bar stalls at 0%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 so the offline workflow covers processing as well as moving files — and check how to revoke Facebook's access to your gallery on Android to keep cloud apps out of the folders LocalSend writes to.
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.
Status: practical guide. Some statements come from vendors; verify in your environment.
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.
Machine data: Citation Map JSON · JSON-LD · Semantic Embeddings — separate stage.
| Entity | Type | Role |
|---|---|---|
| localsend как пользоваться | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| передача файлов по wi-fi без интернета | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| аналог airdrop для android и windows | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| localsend не видит устройства | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| localsend настройка windows | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| Windows | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| Linux | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| macOS | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| Android | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
No independent confirmation is provided; source claims and editorial conclusions are separated below.
| Source | Type | Role |
|---|---|---|
| No external links | — | — |
Cite as: AI Release. Как передавать файлы между Android, Windows, macOS и iPhone по Wi-Fi без интернета: пошаговая настройка LocalSend. ai-release.org.