146 lines
3.4 KiB
Markdown
146 lines
3.4 KiB
Markdown
|
|
# No-IP Quick Setup Checklist
|
||
|
|
|
||
|
|
**Domain:** houseofprayer.ddns.net
|
||
|
|
**Status:** Ready for Configuration
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 🚀 Quick Start (5 Steps)
|
||
|
|
|
||
|
|
### ✅ Step 1: Install No-IP DUC (10 minutes)
|
||
|
|
|
||
|
|
1. Download: <https://www.noip.com/download>
|
||
|
|
2. Install and login with your No-IP account
|
||
|
|
3. Select `houseofprayer.ddns.net` and enable updates
|
||
|
|
4. Verify status shows "Up to Date" (green)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### ✅ Step 2: Configure Router (15 minutes)
|
||
|
|
|
||
|
|
**Access router:** <http://192.168.1.1> (or check router label)
|
||
|
|
|
||
|
|
**Add 2 port forwarding rules:**
|
||
|
|
|
||
|
|
| Service | External Port | Internal IP | Internal Port | Protocol |
|
||
|
|
|---------|--------------|-------------|---------------|----------|
|
||
|
|
| Church_Frontend | 3000 | 192.168.74.1 | 3000 | TCP |
|
||
|
|
| Church_Backend | 5000 | 192.168.74.1 | 5000 | TCP |
|
||
|
|
|
||
|
|
**Save and reboot router if needed**
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### ✅ Step 3: Configure Windows Firewall (2 minutes)
|
||
|
|
|
||
|
|
**Run as Administrator:**
|
||
|
|
|
||
|
|
Right-click `configure-firewall.bat` → "Run as administrator"
|
||
|
|
|
||
|
|
Or manually run:
|
||
|
|
|
||
|
|
```cmd
|
||
|
|
netsh advfirewall firewall add rule name="Church App Frontend" dir=in action=allow protocol=TCP localport=3000
|
||
|
|
netsh advfirewall firewall add rule name="Church App Backend" dir=in action=allow protocol=TCP localport=5000
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### ✅ Step 4: Start Servers (1 minute)
|
||
|
|
|
||
|
|
**Option A:** Double-click `start-all.bat`
|
||
|
|
|
||
|
|
**Option B:** Start individually
|
||
|
|
|
||
|
|
- Double-click `start-backend.bat`
|
||
|
|
- Double-click `start-frontend.bat`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### ✅ Step 5: Test External Access (5 minutes)
|
||
|
|
|
||
|
|
**From your PC (should work):**
|
||
|
|
|
||
|
|
- <http://houseofprayer.ddns.net:5000/api/health>
|
||
|
|
- <http://houseofprayer.ddns.net:3000>
|
||
|
|
|
||
|
|
**From phone using mobile data (turn off WiFi):**
|
||
|
|
|
||
|
|
- Open browser
|
||
|
|
- Go to: <http://houseofprayer.ddns.net:3000>
|
||
|
|
- Select a profile and test the app
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 🔍 Troubleshooting
|
||
|
|
|
||
|
|
### Can't access externally?
|
||
|
|
|
||
|
|
1. **Check No-IP DUC** - Must show "Up to Date" in green
|
||
|
|
2. **Check router** - Port forwarding rules must be saved
|
||
|
|
3. **Check firewall** - Rules must exist and be enabled
|
||
|
|
4. **Check servers** - Both must be running
|
||
|
|
5. **Wait 5 minutes** - DNS changes take time to propagate
|
||
|
|
|
||
|
|
### Run diagnostics
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
# Check if servers are listening
|
||
|
|
netstat -an | Select-String ":3000|:5000"
|
||
|
|
|
||
|
|
# Test No-IP resolution
|
||
|
|
nslookup houseofprayer.ddns.net
|
||
|
|
|
||
|
|
# Check firewall rules
|
||
|
|
netsh advfirewall firewall show rule name=all | Select-String "Church"
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📋 Current Configuration
|
||
|
|
|
||
|
|
- **Local IP:** 192.168.74.1
|
||
|
|
- **Public IP:** 170.254.17.146
|
||
|
|
- **Domain:** houseofprayer.ddns.net
|
||
|
|
- **Backend Port:** 5000
|
||
|
|
- **Frontend Port:** 3000
|
||
|
|
- **Backend Host:** 0.0.0.0 (accepts external) ✓
|
||
|
|
- **CORS:** Allows all origins ✓
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📱 Share with Family
|
||
|
|
|
||
|
|
Once configured, family members can access from anywhere:
|
||
|
|
|
||
|
|
**URL:** <http://houseofprayer.ddns.net:3000>
|
||
|
|
|
||
|
|
Works on:
|
||
|
|
|
||
|
|
- PC/Laptop (any browser)
|
||
|
|
- iPhone/iPad (Safari, Chrome)
|
||
|
|
- Android phones/tablets (Chrome, Firefox)
|
||
|
|
- From home WiFi or mobile data
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 🔒 Security Notes
|
||
|
|
|
||
|
|
- Currently using HTTP (not encrypted)
|
||
|
|
- Recommend adding HTTPS/SSL for production
|
||
|
|
- Consider adding user authentication
|
||
|
|
- Keep No-IP account active (login every 30 days for free accounts)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📞 Support
|
||
|
|
|
||
|
|
- Full guide: See `NOIP_SETUP_GUIDE.md`
|
||
|
|
- No-IP support: <https://www.noip.com/support>
|
||
|
|
- Port forwarding help: <https://portforward.com>
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**Last Updated:** November 30, 2025
|
||
|
|
**Next:** Install No-IP DUC and configure router
|