Troubleshooting & Common Fixes
Quick diagnostic checklists and copy-paste solutions for SSH, port forwarding, HTTPS domains, Docker, and low-RAM tuning.
1. Forwarded IPv4 Port Is Not Reachable
If http://<node-ip>:<external-port> or your UDP service times out, run through these four checks inside your container:
- Check bind address (
0.0.0.0vs127.0.0.1): Runss -tulpn. If your app shows127.0.0.1:8080, reconfigure it to bind0.0.0.0:8080(--host 0.0.0.0). - Verify internal port match: Open the IPv4 Ports tab in
my.natvps.cc. If you haven't created a custom remap rule, external port20025forwards to internal port20025: either add a remap (20025 → 8080) or tell your app to listen on20025. - Check TCP vs UDP protocol: WireGuard and game servers use UDP; web servers use TCP. Make sure your remap rule protocol is set to
UDPorTCP + UDP. - Check container firewall (
ufw/iptables): If you enabledufwinside the container, allow the internal port (ufw allow 8080/tcp).
2. 80/443 Domain Shows 502 Bad Gateway or ERR_TOO_MANY_REDIRECTS
502 Bad Gateway: The edge reverse proxy reached your container, so DNS and SSL are working, meaning your backend app inside the container is either stopped or listening on127.0.0.1instead of0.0.0.0:<target-port>. Test inside the container withcurl -I http://$(hostname -I | awk '{print $1}'):<port>.ERR_TOO_MANY_REDIRECTS(with Cloudflare): Open Cloudflare → SSL/TLS → Overview and switch from Flexible to Full (Strict). Also ensure your app inside the container listens on plain HTTP (http://), because TLS is already terminated at our edge proxy!- SSL Certificate Pending / Handshake Failure: Verify with
dig +short A yourdomain.comthat your domain points to your node's exact Host IPv4 and has no conflictingAAAArecord pointing elsewhere.
3. Cannot Connect via SSH
- Did you include
-p <ssh-port>? Connecting to default port22reaches the host hypervisor rather than your container. Always specify your dedicated 5-digit SSH port (ssh [email protected] -p 10001). - Host key changed after OS reinstall: Reinstalling your OS generates fresh SSH host keys inside the container. Clear the old cached key on your laptop with:
ssh-keygen -R '[160.202.65.99]:10001'
- Permission denied (password): Click Reset Root Password in your panel's Overview & SSH tab to push a fresh password live.
4. Docker Fails with driver failed programming or overlay2 Error
If you installed Docker manually on a clean OS image instead of using our 1-Click Docker image, install fuse-overlayfs and set "storage-driver": "fuse-overlayfs" in /etc/docker/daemon.json, then run systemctl restart docker (see Docker, TUN/TAP & Distros for the exact snippet).
5. Avoiding Out-Of-Memory (OOM) Kills on NAT-256
On 256 MB micro-containers, small tuning tweaks go a long way:
- Prefer Debian 12 or Alpine 3.20 over heavier RHEL/Ubuntu defaults.
- Cap Node.js heap size with
NODE_OPTIONS="--max-old-space-size=160". - Cap systemd journal RAM/disk footprint with
SystemMaxUse=32Min/etc/systemd/journald.conf. - Need Docker Compose, MariaDB, or headless browsers? Upgrade seamlessly to NAT-512 or NAT-1G from Billing & Plan → Upgrade without losing data.
6. Game Server Won't Start or Appear in Public Server Browser
- Minecraft EULA & First Boot: All 6 Minecraft Java editions automatically write
eula=trueduring installation. If you upload a custom server pack over SFTP, ensureeula=trueis present ineula.txtvia Files & SFTP. - Minecraft Forge / Fabric Crash on Boot: Match your Docker Java image in Startup & Version to your Minecraft version (Java 25 for Mojang
26.1+, Java 21 for1.20.5–1.21.x, Java 17 for1.17–1.20.4, Java 8 for1.12.2/1.16.5). - CS2 / CS:S / TF2 / Garry's Mod Public List: Valve requires a free Game Server Login Token (GSLT) from
steamcommunity.com/dev/managegameserverspasted intoSTEAM_ACCunder Startup & Version before listing your server publicly. Directconnect IP:PORTworks immediately even before setting a GSLT.
7. Getting Direct Help from Engineering
Although guest OS software is self-managed, our systems engineers are always happy to check host routing, port rules, edge TLS certificates, or container state! Open a ticket anytime at my.natvps.cc/tickets and include your service ID (e.g. ct-17) plus any error output.