- Plesk for Linux
- Plesk for Windows
Unable to remove an either IPv4 or IPv6 address from Tools & Settings > IP Addresses with error:
PLESK_ERROR: Cannot remove the IP address 2001:db8:f61:a1ff:0:0:0:80 because it is the last IP address present on a network interface.
PLESK_ERROR: Cannot remove IP, used by DNS template
No websites are assigned on the IP address from the error.
- #PPPM-3818 "Removing an IPv6 IP address registered in Plesk no longer fails with the “Cannot remove the IP address” error."
- Plesk Obsidian 18 February 2020
Use one of the following workarounds:
Make sure that there is no subscriptions or reseller accounts assigned to this IP address in Plesk > Tools & Settings > IP Addresses (both Resellers and Sites values should be 0).
/usr/local/psa/admin/conf/panel.inion Linux or
%plesk_dir%\admin\conf\panel.inion Windows and add the following line:
Open Tools & Settings > IP Addresses and click Reread IP button:
Note: Hiding an IP address already assigned to one or more subscriptions will result in the
The IP address is already used for hostingerror. The IP address will be marked as
blacklistedin Tools & Settings > IP Addresses , but will be available in the Plesk interface.
Log into the server via SSH and remove the IP address manually from the network interface by means of the operating system installed on the server for example using the command below (where
203.0.113.2is the affected IP address and
eth0the network interface name):
# ip addr del 203.0.113.2/24 dev eth0
Note: Before removing an IP address double check that there is no websites assigned to this IP address in Plesk. If IP address is not in use, in Plesk > Tools & Settings > IP Addresses values "Resellers" and "Sites" of this IP address will be "0".
Go to Plesk > Tools & Settings > IP Addresses and click Reread IP button:
Select IP address that needs to be removed (it will be marked as broken ) and click Remove button: