Port Forwarding 4240 (TCP/UDP) for maximum sync speed

Configure Port Forwarding for port 4240 (TCP and UDP) on your café router or MikroTik to your Café Server LAN IP for maximum direct patch sync throughput.

I
iPLAYCAFE-dev
Written By iPLAYCAFE-devLast updated 11 hours ago

iPLAYCAFE.app uses Port 4240 (TCP and UDP) on your Café Server for high-speed patch synchronization. While the 1-click installer automatically configures Windows Firewall and UPnP, adding a manual Port Forwarding rule (4240 TCP/UDP) on your main router (especially on MikroTik or multi-WAN fiber routers where UPnP is disabled) ensures unobstructed direct connections and maximum download speeds.

Step 1: Automatic Windows Firewall & UPnP Setup on Port 4240 (TCP/UDP)

When you run iPLAYCAFE-Setup.exe on your Café Server, the background service (iPlayCafeUpdater) automatically adds a Windows Defender Firewall inbound allow rule for port 4240 (range 4240–4260 TCP/UDP) and requests automatic UPnP Port Mapping (External 4240 → Server LAN IP:4240) from your router.

Step 1 — Automatic Windows Defender Firewall and UPnP setup on Port 4240 (TCP/UDP)

🔍 Click screenshot to zoom full resolution (1600×386 px · 2x HiDPI)

Step 2: Forward Port 4240 (TCP & UDP) on Your Router or MikroTik to Your Server LAN IP

Log in to your main router (or MikroTik WinBox) and create a Port Forwarding / Destination NAT (dst-nat) rule forwarding External Port 4240 (Protocol: TCP + UDP / Both) to your Café Server’s static LAN IP (for example 192.168.1.250, Internal Port 4240). On MikroTik RouterOS, go to IP → Firewall → NAT → Add (+) and add chain=dstnat protocol=tcp dst-port=4240 action=dst-nat to-addresses=<Server-LAN-IP> to-ports=4240 (and repeat for protocol=udp).

Step 2 — Router Port Forwarding fields and MikroTik dst-nat rule for Port 4240 (TCP and UDP)

🔍 Click screenshot to zoom full resolution (1600×518 px · 2x HiDPI)

Step 3: Verify Full-Speed Direct Sync & Online Status in the Web Console

Open the Server and Games tabs on https://iplaycafe.app/console to confirm your branch server is ONLINE and syncing patches at full line speed over Port 4240 (TCP/UDP) while automatically respecting your Peak-Hour QoS Guard schedule during busy customer hours.

Step 3 — Verifying Port 4240 (TCP/UDP) direct sync status alongside Peak-Hour Guard in the Web Console

🔍 Click screenshot to zoom full resolution (1600×894 px · 2x HiDPI)

Was this helpful?

Your feedback shapes what we write next.