On another device, open http://<phone-ip>:9999 or use Find Servers.
Frequently Asked Questions
How do I install this Web Server APK on Android 13, 14, or 15?
Download the APK from the Releases page. If Google Play Protect warns, tap “More details” → “Install anyway” (the app is 100% safe and open source). On Android 11+, the app will guide you to grant “All files access” using SAF if needed.
Can I use this Android Web Server without Wi‑Fi?
Absolutely! Start a Hotspot (Access Point). Others connect to your Wi‑Fi hotspot and access the server via the gateway IP. No router required.
Does this WebServer support HTTPS (SSL)?
Yes. A self‑signed certificate is built in. Toggle HTTPS on/off from the main screen. When enabled, use https:// in the browser.
Is this Web Server App completely free?
Yes, 100% free and open source under the MIT License. No fees, no in‑app purchases, no premium versions.
How do I change the port?
Use the “Port” input on the main screen (default 9999). Restart the server after changing. Rooted devices can use port 80 or 443.
What is the maximum file size I can share?
No artificial limits – tested with files up to 100 GB. The chunked engine handles any size that fits your storage, bypassing FAT32's 4 GB limit.
How do I find the IP address of my Web Server?
The app displays both the Wi‑Fi IP and the Hotspot IP (if active) prominently on the main screen.
Can I stream 4K video?
Yes. As long as your network bandwidth supports it (e.g., 5 GHz Wi‑Fi), 4K videos play smoothly in modern browsers.
What happens if the app crashes during a large upload?
The chunked upload engine saves temporary chunks to SD card. When you restart the server and retry, it resumes from the last completed chunk – no data loss.
How do I uninstall the WebServer APK?
Uninstall like any app from Android Settings. Your files remain untouched.
Does this app drain my battery?
Minimal. It uses CPU only when actively serving requests; idle consumption is virtually zero.
Can I share the APK with my friends directly?
Yes, use the “Share” button or host the APK file itself using this server, then send it via Bluetooth, Nearby Share, etc.
What is the Phone-as-Web-Server concept?
It means using a mobile device as a fully functional web server for file serving, website hosting, and network services – without cloud infrastructure. WebServer-Android is a prime example.
Can I use this for mobile‑first homelab projects?
Definitely! Perfect for running lightweight services, dashboards, or APIs on an old Android phone, reducing power and hardware costs.
How does the resumable upload engine work?
Files are split into 10 MB chunks; a progress manifest tracks what's uploaded. Only missing chunks are retransmitted, and all chunks are verified before assembly.
How does the app handle duplicate files?
The deduplication system uses SHA‑256 hashing. For large files, smart three‑slice sampling provides near‑instant identification without hashing the entire file.
Troubleshooting Common Issues
“Cannot access server from other device” – verify both devices are on the same network or hotspot. Disable “AP Isolation” on the router. Temporarily turn off firewalls or VPNs.
“mDNS Discovery not finding servers” – some devices block multicast on hotspot. Use “Find Servers” (subnet probe) or manually enter the IP address.
“Upload fails on large files” – enable “Chunks Mode” in the web UI and ensure enough free space on SD card for temporary chunks.
“HTTPS shows ‘Not Secure’” – expected with a self‑signed certificate. Click “Advanced” → “Proceed to site” in your browser.
“App closes when minimized” – ensure “Foreground Service” permission is granted. The persistent notification prevents Android from killing the process.
Permissions – Why They Are Needed
Permission
Reason
INTERNET
Required to run the web server and accept incoming connections.
FOREGROUND_SERVICE
Allows the server to run in the background with an ongoing notification.
POST_NOTIFICATIONS
For server status and discovery alerts – no other notifications are sent (Android 13+).
MANAGE_EXTERNAL_STORAGE
Full file access; not required if SAF is used (Android 11+).
ACCESS_WIFI_STATE, CHANGE_WIFI_MULTICAST_STATE
Needed for mDNS discovery.
RECEIVE_BOOT_COMPLETED
Optional – enables auto‑start on device reboot (must be enabled in settings).
WRITE_EXTERNAL_STORAGE (max SDK 29)
Legacy permission; not used on Android 10+.
ACCESS_COARSE_LOCATION (max SDK 30)
Required for Wi‑Fi scanning (SSID) for mDNS; GPS is never used.
NEARBY_WIFI_DEVICES (min SDK 31)
Modern replacement for location permission to access Wi‑Fi info (Android 12+).
No data leaves your device. No analytics, no tracking, no cloud services. All traffic stays on your local network.
Roadmap – Upcoming Features
WebDAV Support – mount the server as a network drive on Windows/macOS.
Upload Speed Limiter – control bandwidth usage.
Theme Customization – additional color schemes for the web UI.
Cloudflare Tunnel Integration – optionally expose the server to the public internet via Cloudflare tunnels.
Contributing
This project is 100% open source (MIT license). Contributions are welcome! Open issues, suggest features, submit pull requests, or improve documentation.
Building from source: see BUILD.md for detailed instructions.