Open a port on your VM

Reach a game server, an API or anything else on your VM from the internet by adding a port mapping.

Updated 6 November 2026

Something running on your VM can't be reached from the internet until you open a port for it. Have a read of how Cloud networking works if you haven't already.

Add a mapping

  1. Open your VM and go to the Ports tab. The VM has to be running.
  2. Press Add mapping. The next free port in your range is filled in for you.
  3. Choose TCP, UDP or TCP/UDP. Check your software's documentation if you aren't sure. Most games use UDP, and most other things use TCP.
  4. Add a Label so you remember what it's for, and press Add mapping.

It moves through Being set up to Active. If it says Failed, the reason is shown next to it.

Make your software use that port

Traffic to a port goes to the same port number on your VM. You can't send port 40005 to port 8080. Port 40005 on the public address goes to port 40005 on your VM, so your software has to listen on 40005.

It also has to listen on all addresses, not just on the VM itself. Check this on the VM:

sudo ss -tulpn | grep 40005
You see Meaning
0.0.0.0:40005 or *:40005 Good. It's listening for everyone
127.0.0.1:40005 It only listens to the VM itself. Change its bind address in its settings
Nothing It isn't running, or it's on another port

Test it

People connect to your public address and your port, such as 203.0.113.10:40005. Test from somewhere other than the VM itself, such as your own computer:

Test-NetConnection 203.0.113.10 -Port 40005

That's PowerShell on Windows. For TCP, TcpTestSucceeded : True means it works all the way through. UDP is harder to test this way, so try the real software.

If it doesn't work

  • The panel's firewall. A VM's own rules can block the port. See firewall rules. VMs on the default Allow All template are fine.
  • A firewall inside the system. ufw or firewalld may be running as well as the one on the panel. Open the port there too:
sudo ufw allow 40005/tcp
  • The wrong protocol. A TCP mapping won't carry UDP traffic. Edit the mapping and choose the right one.

Running out of ports

The Cloud page shows how many you've used. Deleting a mapping gives its port back. The port Cloud made for your VM's SSH or Remote Desktop can't be edited or deleted, and each VM has one. Deleting a VM frees up its ports too, though your range stays yours.

If you need more, ask in a ticket. We don't promise to say yes.

Lost your SSH port?

If the Ports tab says This VM has no SSH forward, usually because you'd run out of ports when it was built, free one up and press Add SSH forward.

Websites

You can't have ports 80 and 443. Use a Cloudflare Tunnel instead, which needs no ports at all and gives you proper HTTPS on your own domain.