===================================================== COMMANDS TO START AND STOP SERVICES Directory: C:\Users\shanan\Desktop\arm Port: 8888 ===================================================== ----------------------------------------------------- 1. START ALL (Python + Tailscale + Cloudflare) ----------------------------------------------------- In PowerShell: # 1. Start Python HTTP Server Invoke-CimMethod -ClassName Win32_Process -MethodName Create -Arguments @{ CommandLine = 'C:\Python314\pythonw.exe C:\Users\shanan\Desktop\arm\server.py' } # 2. Start Tailscale Funnel tailscale funnel --bg --yes 8888 # 3. Start Cloudflare Tunnel Start-Process cloudflared -ArgumentList 'tunnel --url http://127.0.0.1:8888 --logfile C:\Users\shanan\Desktop\arm\cloudflared.log' -WindowStyle Hidden ----------------------------------------------------- 2. STOP ALL ----------------------------------------------------- In PowerShell: Stop-Process -Name pythonw, cloudflared -Force -ErrorAction SilentlyContinue; tailscale funnel --https=443 off ----------------------------------------------------- 3. CHECK STATUS & GET ACTIVE CLOUDFLARE URL ----------------------------------------------------- Get Cloudflare URL: Select-String "trycloudflare.com" C:\Users\shanan\Desktop\arm\cloudflared.log Tailscale Funnel status: tailscale funnel status