This guide explains how to run Pulsefeed on your local network so other devices (phones, tablets, other computers) can access it.
python start_network.pyIncludes: Chat, WebSocket support, all features
python run_local_network.pyIncludes: All features except real-time chat
python app.pyNote: Only accessible from the computer running the server
After starting the server, you'll see output like:
Access from other devices on your network:
http://192.168.1.100:5000
Use that URL on your phone, tablet, or other computers connected to the same WiFi network.
If other devices can't connect, you may need to allow Python through Windows Firewall:
- Start the server with
python start_network.py - Windows will show a security alert
- Check "Private networks" (your home WiFi)
- Click "Allow access"
- Open Windows Security (search in Start menu)
- Go to Firewall & network protection
- Click Allow an app through firewall
- Click Change settings (requires admin)
- Find Python in the list
- Check both Private and Public boxes
- Click OK
# Run PowerShell as Administrator
New-NetFirewallRule -DisplayName "Pulsefeed" -Direction Inbound -Protocol TCP -LocalPort 5000 -Action AllowipconfigLook for "IPv4 Address" under your active network adapter (usually starts with 192.168.x.x or 10.0.x.x)
Get-NetIPAddress -AddressFamily IPv4 | Where-Object {$_.IPAddress -like "192.168.*"}- Local Network Only: This setup only works on your local network (home WiFi). It's not accessible from the internet.
- User Accounts: Each person needs their own account. Use the invite code system to control who can register.
- Trusted Networks Only: Don't use this on public WiFi or untrusted networks.
- HTTPS: This setup uses HTTP (not HTTPS). Data is not encrypted in transit on your local network.
- Change Secret Key: Set a strong
SECRET_KEYin your environment variables - Limit Invites: Only generate invite codes for people you trust
- Monitor Users: Regularly check user accounts in Settings
- Backup Database: Regularly backup
instance/data.db
Check 1: Same Network
- Ensure both devices are on the same WiFi network
- Guest networks often isolate devices from each other
Check 2: Firewall
- Allow Python through Windows Firewall (see above)
- Temporarily disable firewall to test (remember to re-enable)
Check 3: IP Address
- Verify you're using the correct IP address
- IPs can change - run
ipconfigto get current IP
Check 4: Server Running
- Make sure the server is actually running
- Check for error messages in the terminal
Check 5: Port Conflicts
- Make sure port 5000 isn't used by another application
- Try a different port:
set PORT=8080 && python start_network.py
Solution: Use python start_network.py (not run_local_network.py)
- Waitress doesn't support WebSockets
- Chat requires the SocketIO server
Possible Causes:
- WiFi signal strength
- Too many concurrent users (SQLite has limits)
- Running on slow/old computer
Solutions:
- Use 5GHz WiFi instead of 2.4GHz
- Limit concurrent users to 3-5
- Consider upgrading to PostgreSQL for heavy use
set PORT=8080
python start_network.pyFor production use (always on, better performance), consider:
- Using a proper WSGI server (Gunicorn on Linux, Waitress on Windows)
- Setting up HTTPS with nginx reverse proxy
- Using PostgreSQL instead of SQLite
- Running as a Windows service
See docs/deployment/ for production deployment guides (coming soon).
| Feature | app.py |
run_local_network.py |
start_network.py |
|---|---|---|---|
| Network Access | No | Yes | Yes |
| Chat Support | No | No | Yes |
| Auto-Reload | Yes | No | Yes |
| Production Ready | No | Yes | No |
| Best For | Development | Basic hosting | Full features |
If you encounter issues:
- Check the terminal for error messages
- Review this guide's troubleshooting section
- Check
docs/systems/for system-specific documentation - File an issue on GitHub (if applicable)