Home
Server & Cloud Infrastructure
Linux VPS and Windows VPS (Purchased after 15 May 2023)
Removing Public IPv4 Addresses From a VPS
Removing Public IPv4 Addresses on a VPS (Ubuntu 20.04, 22.04 and Debian 12)
Please use the “Print” function at the bottom of the page to create a PDF.
For VPS purchased after 16 May 2023
This article explains how to remove an additional public IPv4 address on a VPS running Ubuntu 20.04, 22.04, or Debian 12.
Prerequisite
You already unassigned the additional public IPv4 address in the Cloud Panel.
Log in to the server.
Open the etc/netplan/01-netcfg.yaml file. Enter the following command:
[root@localhost ~]# sudo vi etc/netplan/01-netcfg.yaml
In the etc/netplan/01-netcfg.yaml file, delete the associated entries in the addresses section.
Restart the server to apply the changes. To do this, enter the following command:
[root@localhost ~]# systemctl reboot