I cannot open the apache server in the browse although I use both of them that is localhost or 127.0.0.1 address. What should I do to solve this problem?
RTFM :-)
Check up httpd.conf. Look for "Port". If it´s not set to 80, do it. Restart.