No GUI after change the IP ?

I changed the IP and now I cannot reach the GUI.

When I go back to the old IP the gui is working again. How can I make a clean change ?

do not forget to change the IP also in /etc/hosts