- Plesk for Linux
- Plesk for Windows
Unable to remove an either IPv4 or IPv6 address from Plesk > 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: Error: Cannot remove the IP address 203.0.113.2 because it is the primary IP address of a network interface. Cannot remove the IP address 203.0.113.2 because it is the last IP address present on a network interface.
No websites are assigned on the IP address from the error.
This is an internal issue with ID PPPM-3818, which is planned to be fixed in future product updates.
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.
Remove IP address manually from network interface by means of the operating system installed on the server.
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".
Open 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: