I entered the hosts file and added 127.0.0.1 localhost but didnt solve my problem, Also apache & mysql is running.
Error log on apache
[Fri Sep 07 16:25:00.624644 2012] [ssl:warn] [pid 2088:tid 264] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Sep 07 16:25:00.970664 2012] [mpm_winnt:notice] [pid 2088:tid 264] AH00455: Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 configured -- resuming normal operations
[Fri Sep 07 16:25:00.971664 2012] [mpm_winnt:notice] [pid 2088:tid 264] AH00456: Server built: May 13 2012 14:10:15
[Fri Sep 07 16:25:00.971664 2012] [core:notice] [pid 2088:tid 264] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Sep 07 16:25:00.978665 2012] [mpm_winnt:notice] [pid 2088:tid 264] AH00418: Parent: Created child process 6488
[Fri Sep 07 16:25:03.193791 2012] [ssl:warn] [pid 6488:tid 276] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Sep 07 16:25:03.395803 2012] [mpm_winnt:notice] [pid 6488:tid 276] AH00354: Child: Starting 150 worker threads.
[Fri Sep 07 16:25:03.411804 2012] [mpm_winnt:error] [pid 6488:tid 1408] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Fri Sep 07 16:25:03.411804 2012] [mpm_winnt:error] [pid 6488:tid 1424] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Fri Sep 07 16:25:03.417804 2012] [mpm_winnt:error] [pid 6488:tid 1728] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Fri Sep 07 16:25:03.417804 2012] [mpm_winnt:error] [pid 6488:tid 1732] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
Mysql log
120907 16:25:12 [Note] Plugin 'FEDERATED' is disabled.
120907 16:25:12 InnoDB: The InnoDB memory heap is disabled
120907 16:25:12 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120907 16:25:12 InnoDB: Compressed tables use zlib 1.2.3
120907 16:25:12 InnoDB: Initializing buffer pool, size = 16.0M
120907 16:25:12 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist:
InnoDB: a new database to be created!
120907 16:25:12 InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
120907 16:25:12 InnoDB: Log file C:\xampp\mysql\data\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
120907 16:25:12 InnoDB: Log file C:\xampp\mysql\data\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
120907 16:25:13 InnoDB: Waiting for the background threads to start
120907 16:25:14 InnoDB: 1.1.8 started; log sequence number 0
120907 16:25:14 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
120907 16:25:14 [Note] - '0.0.0.0' resolves to '0.0.0.0';
120907 16:25:14 [Note] Server socket created on IP: '0.0.0.0'.
120907 16:25:14 [Note] Event Scheduler: Loaded 0 events
120907 16:25:14 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '5.5.25a' socket: '' port: 3306 MySQL Community Server (GPL)
Please help me out here!