I love you guys.....
ive had the same problem, and using the GUI to fix it (there is a tool for it) broke apache.
I did what megaspaz said, and it fixed everything
(althought i had to reboot, im assuming restarting the network and logging out and back in would have worked too)
I will add a comment since chances are its your first time using linux, use emacss to edit the files
emaces /etc/sysconfig/network
emaces /etc/hosts
to save the changes to the files, typ:e control+x control+c y enter.
(assuming you are messing with this for the first time, you may have needed that, if not, sorry for insulting you)