Change and inclusion of IP

Does anyone have any solutions for configuring two IPs because when adding/changing them, an error page appears when clicking on save.
Is there any way to include/change the IP directly in the code?