Shared IPv4 and port forwarding explained
Updated 27 Nov 2026 nat ports ipv4
What NAT plans can and cannot do, before you rely on them.
Plans sold today include a dedicated IPv4 address. This article is for a server on shared IPv4; your server page shows which kind you have.
How it works
Your server has a private address. Several servers share one public IPv4 address, and a fixed set of public ports is forwarded to yours. One of them goes to SSH (port 22); the others are listed on your server page.
What this means
- Outbound connections from your server work normally (except blocked mail ports).
- Inbound connections reach you only on your forwarded ports.
- Ports 80 and 443 are not forwarded. Visitors cannot browse to your site at a normal web address on a shared-IPv4 plan.
- Certificate checks that need port 80 or 443 (Let's Encrypt HTTP-01 and TLS-ALPN-01) will not work. A DNS-01 challenge still does.
Running a service
Listen on a forwarded port on all interfaces and allow it in your own firewall. For a forwarded port 20002:
python3 -m http.server 20002
Then visit http://PUBLIC-ADDRESS:20002. Stop the test server afterwards: it publishes the current folder.
Hosting a public website
Choose a plan with a dedicated IPv4 where one is offered, or use an outbound tunnel service such as Cloudflare Tunnel, which publishes a local web server without inbound ports. Check that provider's terms.
Talking to other servers
For isolation, servers cannot reach other customers' servers or private networks on the same host, even your own second server by its private address.