cannot load localhost in browser - xampp - apache

When i try to load localhost in any browser, it just keeps on loading for 10 ish minutes, before it times out. I have had this problem before, but then i just changed port 80 to 8080 or something alike, and unticked the option in skype settings.
This time it didnt cut it for me. I seriously have no clue how to fix this problem. Please let me know, if i can provide you with anymore information.
Apache error log:
[Fri Nov 22 16:02:38.463474 2013] [ssl:warn] [pid 6212:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Nov 22 16:02:38.910499 2013] [ssl:warn] [pid 6212:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Nov 22 16:02:38.959502 2013] [mpm_winnt:notice] [pid 6212:tid 272] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
[Fri Nov 22 16:02:38.959502 2013] [mpm_winnt:notice] [pid 6212:tid 272] AH00456: Server built: Feb 23 2013 13:07:34
[Fri Nov 22 16:02:38.959502 2013] [core:notice] [pid 6212:tid 272] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Nov 22 16:02:38.960502 2013] [mpm_winnt:notice] [pid 6212:tid 272] AH00418: Parent: Created child process 3740
Apache server shutdown initiated...
sl:warn] [pid 3740:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Nov 22 16:02:40.097567 2013] [ssl:warn] [pid 3740:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Nov 22 16:02:40.131569 2013] [mpm_winnt:notice] [pid 3740:tid 284] AH00354: Child: Starting 150 worker threads.
[Fri Nov 22 16:02:40.136569 2013] [mpm_winnt:error] [pid 3740:tid 1812] (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 Nov 22 16:02:40.136569 2013] [mpm_winnt:error] [pid 3740:tid 1800] (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 Nov 22 16:02:40.136569 2013] [mpm_winnt:error] [pid 3740:tid 1804] (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 Nov 22 16:02:40.136569 2013] [mpm_winnt:error] [pid 3740:tid 1824] (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 Nov 22 20:01:07.318893 2013] [mpm_winnt:notice] [pid 6212:tid 272] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Nov 22 20:01:09.320008 2013] [mpm_winnt:notice] [pid 3740:tid 284] AH00364: Child: All worker threads have exited.
[Fri Nov 22 20:01:09.351010 2013] [mpm_winnt:notice] [pid 6212:tid 272] AH00430: Parent: Child process 3740 exited successfully.
[Tue Nov 26 10:01:15.190414 2013] [ssl:warn] [pid 6744:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:01:15.668441 2013] [ssl:warn] [pid 6744:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:01:15.746446 2013] [mpm_winnt:notice] [pid 6744:tid 272] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
[Tue Nov 26 10:01:15.747446 2013] [mpm_winnt:notice] [pid 6744:tid 272] AH00456: Server built: Feb 23 2013 13:07:34
[Tue Nov 26 10:01:15.747446 2013] [core:notice] [pid 6744:tid 272] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Nov 26 10:01:15.748446 2013] [mpm_winnt:notice] [pid 6744:tid 272] AH00418: Parent: Created child process 4900
[Tue Nov 26 10:01:16.362481 2013] [ssl:warn] [pid 4900:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:01:16.809506 2013] [ssl:warn] [pid 4900:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:01:16.841508 2013] [mpm_winnt:notice] [pid 4900:tid 284] AH00354: Child: Starting 150 worker threads.
[Tue Nov 26 10:01:16.845508 2013] [mpm_winnt:error] [pid 4900:tid 1808] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:01:16.845508 2013] [mpm_winnt:error] [pid 4900:tid 1832] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:01:16.845508 2013] [mpm_winnt:error] [pid 4900:tid 1820] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:01:16.845508 2013] [mpm_winnt:error] [pid 4900:tid 1800] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:14:57.341438 2013] [ssl:warn] [pid 1104:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:14:57.363439 2013] [core:warn] [pid 1104:tid 272] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Nov 26 10:14:57.754462 2013] [ssl:warn] [pid 1104:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:14:57.786464 2013] [mpm_winnt:notice] [pid 1104:tid 272] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
[Tue Nov 26 10:14:57.786464 2013] [mpm_winnt:notice] [pid 1104:tid 272] AH00456: Server built: Feb 23 2013 13:07:34
[Tue Nov 26 10:14:57.786464 2013] [core:notice] [pid 1104:tid 272] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Nov 26 10:14:57.787464 2013] [mpm_winnt:notice] [pid 1104:tid 272] AH00418: Parent: Created child process 4852
Apache server shutdown initiated...
sl:warn] [pid 4852:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:14:58.872526 2013] [ssl:warn] [pid 4852:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:14:58.911528 2013] [mpm_winnt:notice] [pid 4852:tid 284] AH00354: Child: Starting 150 worker threads.
[Tue Nov 26 10:14:58.916528 2013] [mpm_winnt:error] [pid 4852:tid 1816] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:14:58.916528 2013] [mpm_winnt:error] [pid 4852:tid 1812] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:14:58.916528 2013] [mpm_winnt:error] [pid 4852:tid 1828] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:14:58.916528 2013] [mpm_winnt:error] [pid 4852:tid 1820] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:15:02.393727 2013] [mpm_winnt:notice] [pid 1104:tid 272] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Nov 26 10:15:04.394841 2013] [mpm_winnt:notice] [pid 4852:tid 284] AH00364: Child: All worker threads have exited.
[Tue Nov 26 10:15:04.421843 2013] [mpm_winnt:notice] [pid 1104:tid 272] AH00430: Parent: Child process 4852 exited successfully.
[Tue Nov 26 10:26:00.240354 2013] [ssl:warn] [pid 6792:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:26:00.692380 2013] [ssl:warn] [pid 6792:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:26:00.724381 2013] [mpm_winnt:notice] [pid 6792:tid 272] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
[Tue Nov 26 10:26:00.724381 2013] [mpm_winnt:notice] [pid 6792:tid 272] AH00456: Server built: Feb 23 2013 13:07:34
[Tue Nov 26 10:26:00.724381 2013] [core:notice] [pid 6792:tid 272] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Nov 26 10:26:00.725381 2013] [mpm_winnt:notice] [pid 6792:tid 272] AH00418: Parent: Created child process 4900
Apache server shutdown initiated...
sl:warn] [pid 4900:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:26:01.819444 2013] [ssl:warn] [pid 4900:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:26:01.850446 2013] [mpm_winnt:notice] [pid 4900:tid 284] AH00354: Child: Starting 150 worker threads.
[Tue Nov 26 10:26:01.854446 2013] [mpm_winnt:error] [pid 4900:tid 1820] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:26:01.854446 2013] [mpm_winnt:error] [pid 4900:tid 1812] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:26:01.854446 2013] [mpm_winnt:error] [pid 4900:tid 1828] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:26:01.854446 2013] [mpm_winnt:error] [pid 4900:tid 1808] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:26:16.033257 2013] [mpm_winnt:notice] [pid 6792:tid 272] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Nov 26 10:26:18.034371 2013] [mpm_winnt:notice] [pid 4900:tid 284] AH00364: Child: All worker threads have exited.
[Tue Nov 26 10:26:18.060373 2013] [mpm_winnt:notice] [pid 6792:tid 272] AH00430: Parent: Child process 4900 exited successfully.
[Tue Nov 26 10:26:31.067117 2013] [ssl:warn] [pid 5684:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:26:31.498142 2013] [ssl:warn] [pid 5684:tid 272] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:26:31.530143 2013] [mpm_winnt:notice] [pid 5684:tid 272] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 configured -- resuming normal operations
[Tue Nov 26 10:26:31.530143 2013] [mpm_winnt:notice] [pid 5684:tid 272] AH00456: Server built: Feb 23 2013 13:07:34
[Tue Nov 26 10:26:31.530143 2013] [core:notice] [pid 5684:tid 272] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Nov 26 10:26:31.531143 2013] [mpm_winnt:notice] [pid 5684:tid 272] AH00418: Parent: Created child process 5544
[Tue Nov 26 10:26:32.134178 2013] [ssl:warn] [pid 5544:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:26:32.597204 2013] [ssl:warn] [pid 5544:tid 284] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Tue Nov 26 10:26:32.628206 2013] [mpm_winnt:notice] [pid 5544:tid 284] AH00354: Child: Starting 150 worker threads.
[Tue Nov 26 10:26:32.631206 2013] [mpm_winnt:error] [pid 5544:tid 1820] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:26:32.631206 2013] [mpm_winnt:error] [pid 5544:tid 1812] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:26:32.631206 2013] [mpm_winnt:error] [pid 5544:tid 1828] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Tue Nov 26 10:26:32.631206 2013] [mpm_winnt:error] [pid 5544:tid 1824] (OS 10038)An operation was attempted on something that is not a socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
Netstat -ao :
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Teilmann>netstat -ao
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 Teilmann-PC:0 LISTENING 2968
TCP 0.0.0.0:135 Teilmann-PC:0 LISTENING 828
TCP 0.0.0.0:443 Teilmann-PC:0 LISTENING 2448
TCP 0.0.0.0:445 Teilmann-PC:0 LISTENING 4
TCP 0.0.0.0:554 Teilmann-PC:0 LISTENING 4588
TCP 0.0.0.0:563 Teilmann-PC:0 LISTENING 2448
TCP 0.0.0.0:2869 Teilmann-PC:0 LISTENING 4
TCP 0.0.0.0:3306 Teilmann-PC:0 LISTENING 3780
TCP 0.0.0.0:4433 Teilmann-PC:0 LISTENING 2968
TCP 0.0.0.0:10243 Teilmann-PC:0 LISTENING 4
TCP 0.0.0.0:17500 Teilmann-PC:0 LISTENING 3428
TCP 0.0.0.0:17729 Teilmann-PC:0 LISTENING 1964
TCP 0.0.0.0:49152 Teilmann-PC:0 LISTENING 492
TCP 0.0.0.0:49153 Teilmann-PC:0 LISTENING 892
TCP 0.0.0.0:49154 Teilmann-PC:0 LISTENING 968
TCP 0.0.0.0:49156 Teilmann-PC:0 LISTENING 556
TCP 0.0.0.0:49157 Teilmann-PC:0 LISTENING 576
TCP 0.0.0.0:57837 Teilmann-PC:0 LISTENING 2448
TCP 25.196.97.39:139 Teilmann-PC:0 LISTENING 4
TCP 127.0.0.1:80 Teilmann-PC:50016 CLOSE_WAIT 2968
TCP 127.0.0.1:80 Teilmann-PC:50017 CLOSE_WAIT 2968
TCP 127.0.0.1:80 Teilmann-PC:50543 CLOSE_WAIT 2968
TCP 127.0.0.1:80 Teilmann-PC:50544 CLOSE_WAIT 2968
TCP 127.0.0.1:80 Teilmann-PC:50546 CLOSE_WAIT 2968
TCP 127.0.0.1:80 Teilmann-PC:50547 CLOSE_WAIT 2968
TCP 127.0.0.1:80 Teilmann-PC:50560 CLOSE_WAIT 2968
TCP 127.0.0.1:80 Teilmann-PC:50561 CLOSE_WAIT 2968
TCP 127.0.0.1:80 Teilmann-PC:50630 ESTABLISHED 2968
TCP 127.0.0.1:80 Teilmann-PC:50631 CLOSE_WAIT 2968
TCP 127.0.0.1:4370 Teilmann-PC:0 LISTENING 3096
TCP 127.0.0.1:4380 Teilmann-PC:0 LISTENING 3096
TCP 127.0.0.1:5354 Teilmann-PC:0 LISTENING 1888
TCP 127.0.0.1:5939 Teilmann-PC:0 LISTENING 2124
TCP 127.0.0.1:11000 Teilmann-PC:0 LISTENING 3552
TCP 127.0.0.1:12000 Teilmann-PC:0 LISTENING 3552
TCP 127.0.0.1:19872 Teilmann-PC:49190 ESTABLISHED 3428
TCP 127.0.0.1:49155 Teilmann-PC:0 LISTENING 1052
TCP 127.0.0.1:49162 Teilmann-PC:0 LISTENING 3552
TCP 127.0.0.1:49167 Teilmann-PC:49168 ESTABLISHED 2448
TCP 127.0.0.1:49168 Teilmann-PC:49167 ESTABLISHED 2448
TCP 127.0.0.1:49169 Teilmann-PC:49170 ESTABLISHED 2448
TCP 127.0.0.1:49170 Teilmann-PC:49169 ESTABLISHED 2448
TCP 127.0.0.1:49171 Teilmann-PC:49172 ESTABLISHED 2448
TCP 127.0.0.1:49172 Teilmann-PC:49171 ESTABLISHED 2448
TCP 127.0.0.1:49173 Teilmann-PC:0 LISTENING 3544
TCP 127.0.0.1:49175 Teilmann-PC:49176 ESTABLISHED 2448
TCP 127.0.0.1:49176 Teilmann-PC:49175 ESTABLISHED 2448
TCP 127.0.0.1:49178 Teilmann-PC:49179 ESTABLISHED 2448
TCP 127.0.0.1:49179 Teilmann-PC:49178 ESTABLISHED 2448
TCP 127.0.0.1:49190 Teilmann-PC:19872 ESTABLISHED 3428
TCP 127.0.0.1:50016 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:50017 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:50543 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:50544 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:50546 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:50547 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:50560 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:50561 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:50630 Teilmann-PC:http ESTABLISHED 3652
TCP 127.0.0.1:50631 Teilmann-PC:http FIN_WAIT_2 3652
TCP 127.0.0.1:60524 Teilmann-PC:0 LISTENING 2448
TCP 192.168.2.2:139 Teilmann-PC:0 LISTENING 4
TCP 192.168.2.2:49164 80-239-178-216:http CLOSE_WAIT 3552
TCP 192.168.2.2:49186 80-239-247-208:http CLOSE_WAIT 4004
TCP 192.168.2.2:49197 snt-re2-7b:http ESTABLISHED 3428
TCP 192.168.2.2:49253 fa-in-f94:https ESTABLISHED 3652
TCP 192.168.2.2:49262 62.116.207.42:https ESTABLISHED 3652
TCP 192.168.2.2:49265 62.116.207.48:https ESTABLISHED 3652
TCP 192.168.2.2:49451 5.56.153.177:http ESTABLISHED 3652
TCP 192.168.2.2:49955 a23-53-32-60:https CLOSE_WAIT 6812
TCP 192.168.2.2:49956 80-239-178-203:http CLOSE_WAIT 6812
TCP 192.168.2.2:50442 fa-in-f94:http ESTABLISHED 3652
TCP 192.168.2.2:50443 fa-in-f105:http ESTABLISHED 3652
TCP 192.168.2.2:50624 80-239-178-154:https ESTABLISHED 3652
TCP 192.168.2.2:50625 80-239-178-154:https ESTABLISHED 3652
TCP 192.168.2.2:50626 80-239-178-154:https ESTABLISHED 3652
TCP 192.168.2.2:50627 80-239-178-154:https ESTABLISHED 3652
TCP 192.168.2.2:50628 80-239-178-154:https ESTABLISHED 3652
TCP 192.168.2.2:50629 80-239-178-154:https ESTABLISHED 3652
TCP 192.168.2.2:50648 80-239-247-145:http ESTABLISHED 3652
TCP 192.168.2.2:50680 80-239-247-184:http ESTABLISHED 3652
TCP 192.168.2.2:50734 arn06s02-in-f21:https ESTABLISHED 3652
TCP 192.168.2.2:50741 arn06s02-in-f11:https ESTABLISHED 3652
TCP 192.168.2.2:50742 fa-in-f105:https ESTABLISHED 3652
TCP 192.168.2.2:50743 arn06s02-in-f15:https ESTABLISHED 3652
TCP 192.168.2.2:50746 arn02s06-in-f15:https ESTABLISHED 3652
TCP 192.168.2.2:50747 arn02s05-in-f29:https ESTABLISHED 3652
TCP 192.168.2.2:50755 scl03s05-in-f15:https ESTABLISHED 3652
TCP 192.168.2.2:50759 arn02s06-in-f11:https ESTABLISHED 3652
TCP 192.168.2.2:50883 ec2-54-228-198-107:https ESTABLISHED 3652
TCP 192.168.2.2:50889 stackoverflow:http ESTABLISHED 3652
TCP 192.168.2.2:50890 ec2-54-243-128-120:http ESTABLISHED 3652
TCP 192.168.2.2:50891 62.116.207.53:https ESTABLISHED 3652
TCP 192.168.2.2:50892 stackoverflow:https ESTABLISHED 3652
TCP 192.168.2.2:50893 62.116.207.59:http ESTABLISHED 3652
TCP [::]:80 Teilmann-PC:0 LISTENING 2968
TCP [::]:135 Teilmann-PC:0 LISTENING 828
TCP [::]:445 Teilmann-PC:0 LISTENING 4
TCP [::]:554 Teilmann-PC:0 LISTENING 4588
TCP [::]:2869 Teilmann-PC:0 LISTENING 4
TCP [::]:4433 Teilmann-PC:0 LISTENING 2968
TCP [::]:10243 Teilmann-PC:0 LISTENING 4
TCP [::]:49152 Teilmann-PC:0 LISTENING 492
TCP [::]:49153 Teilmann-PC:0 LISTENING 892
TCP [::]:49154 Teilmann-PC:0 LISTENING 968
TCP [::]:49156 Teilmann-PC:0 LISTENING 556
TCP [::]:49157 Teilmann-PC:0 LISTENING 576
UDP 0.0.0.0:5004 *:* 4588
UDP 0.0.0.0:5005 *:* 4588
UDP 0.0.0.0:5355 *:* 1136
UDP 0.0.0.0:17500 *:* 3428
UDP 0.0.0.0:55816 *:* 1888
UDP 0.0.0.0:57837 *:* 2448
UDP 25.196.97.39:137 *:* 4
UDP 25.196.97.39:138 *:* 4
UDP 25.196.97.39:1900 *:* 3452
UDP 25.196.97.39:5353 *:* 1888
UDP 25.196.97.39:57664 *:* 3452
UDP 127.0.0.1:1900 *:* 3452
UDP 127.0.0.1:44301 *:* 1124
UDP 127.0.0.1:54382 *:* 3228
UDP 127.0.0.1:57659 *:* 1756
UDP 127.0.0.1:57665 *:* 3452
UDP 127.0.0.1:61696 *:* 3544
UDP 192.168.2.2:137 *:* 4
UDP 192.168.2.2:138 *:* 4
UDP 192.168.2.2:1900 *:* 3452
UDP 192.168.2.2:5353 *:* 1888
UDP 192.168.2.2:57663 *:* 3452
UDP [::]:5004 *:* 4588
UDP [::]:5005 *:* 4588
UDP [::]:5355 *:* 1136
UDP [::]:55817 *:* 1888
UDP [::1]:1900 *:* 3452
UDP [::1]:5353 *:* 1888
UDP [::1]:57662 *:* 3452
UDP [fe80::3c18:a750:2ed3:bee%12]:1900 *:* 3452
UDP [fe80::3c18:a750:2ed3:bee%12]:57661 *:* 3452
UDP [fe80::7833:3faa:25a4:180%11]:1900 *:* 3452
UDP [fe80::7833:3faa:25a4:180%11]:57660 *:* 3452

Check What’s Using Port 80?
Further detective work is necessary if IIS, SSRS and Skype are not to blame. Enter the following on the command line:
netstat -ao
The active TCP addresses and ports will be listed — locate the line with local address “0.0.0.0:80″ and note the PID value.
Now right-click the task bar and select Start Task Manager. Navigate to the Processes tab and, if necessary, click View > Select Columns… to ensure “PID (Process Identifier)” is checked. You can now locate the PID you noted above. The description and properties should help you determine which application is using the port.
The Task Manager allows you to kill the process, but be a little wary about doing that — especially if it’s “NT Kernel & System”.
Microsoft-HTTPAPI/2.0
NT Kernel & System is an essential service. Stopping it will probably stop Windows in a blue-screeny-like way. Therefore, enter the following at the command line:
telnet 127.0.0.1 80
If you’re faced with a blank screen, type “GET” and hit return. The chances are, you’ll see a line stating that Microsoft-HTTPAPI/2.0 is listening on port 80. If that’s the case, open Services from Administrative Tools and locate “Web Deployment Agent Service”. Stop the service and set it’s startup type to “Manual”.
The Web Deployment Agent Service is deployed with WebMatrix and was the cause of my woes. It may also be distributed with other applications installed using Microsoft’s Web Platform Installer.
That caused me a few frustrating hours so I hope it solves your Apache or WAMP start-up problems.
Skype
There is one more, maybe stupid but still a reason – Skype.
there is a checkbox in
Options->Advanced->Connection->“use port 80 and 443 as alternatives for incoming connections”

Related

openssl s_client:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

I'm trying to connect to SSL server from linux but it does not work.
I need to auth by a client certificate from a Windows client http (C# httpwebrequest) but it does not work.
So I have tried using an internal reverse proxy with Linux/Apache (it does the client authentifcation) but it does not work. Here is the configuration :
<VirtualHost host:443>
ServerName host:443
# SRV SSL
SSLEngine On
SSLCertificateFile /cert.cer
SSLCertificateKeyFile /cert.key
# REVERSE PROXY
SSLProxyEngine On
ProxyPass / https://host:443/
ProxyPassReverse / https://host:443/
ProxyRequests Off
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
# AUTHENTIFICATION CERT CLIENT (concat crt et key SANS pwd)
SSLProxyMachineCertificateFile "/cert.crt.key"
# Log Dev
TransferLog logs/test.ssl_access_log
ErrorLog logs/test.ssl_error_log
# DEBUG
<IfModule mod_ssl.c>
ErrorLog logs/ssl_engine.log
LogLevel debug
</IfModule>
</VirtualHost>
And here is the ssl_engine.log :
[Sat Mar 03 18:23:06.813995 2018] [proxy:debug] [pid 5892] proxy_util.c(2798): AH02824: HTTPS: connection established with xxx.xxx.xxx.xxx:443 (host)
[Sat Mar 03 18:23:06.814011 2018] [proxy:debug] [pid 5892] proxy_util.c(2938): AH00962: HTTPS: connection complete to xxx.xxx.xxx.xxx:443 (host)
[Sat Mar 03 18:23:06.814015 2018] [ssl:info] [pid 5892] [remote xxx.xxx.xxx.xxx:443] AH01964: Connection to child 0 established (server localhost:443)
[Sat Mar 03 18:23:06.844164 2018] [ssl:info] [pid 5892] [remote xxx.xxx.xxx.xxx:443] AH02003: SSL Proxy connect failed
[Sat Mar 03 18:23:06.844212 2018] [ssl:info] [pid 5892] SSL Library Error: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
[Sat Mar 03 18:23:06.844219 2018] [ssl:info] [pid 5892] [remote xxx.xxx.xxx.xxx:443] AH01998: Connection closed to child 0 with abortive shutdown (server localhost:443)
[Sat Mar 03 18:23:06.844234 2018] [ssl:info] [pid 5892] [remote xxx.xxx.xxx.xxx:443] AH01997: SSL handshake failed: sending 502
[Sat Mar 03 18:23:06.844250 2018] [proxy_http:error] [pid 5892] (103)Software caused connection abort: [client 172.20.6.150:56860] AH01102: error reading status line from remote server host:443
[Sat Mar 03 18:23:06.844275 2018] [proxy_http:debug] [pid 5892] mod_proxy_http.c(1363): [client 172.20.6.150:56860] AH01105: NOT Closing connection to client although reading from backend server host:443 failed.
[Sat Mar 03 18:23:06.844280 2018] [proxy:error] [pid 5892] [client 172.20.6.150:56860] AH00898: Error reading from remote server returned by /recette/tib/depotGreffe/C0002A0121L091616D20180129H100031TDEDOCPCFEC.zip
[Sat Mar 03 18:23:06.844292 2018] [proxy:debug] [pid 5892] proxy_util.c(2218): AH00943: HTTPS: has released connection for (host)
[Sat Mar 03 18:23:06.844483 2018] [ssl:info] [pid 5892] [client 172.20.6.150:56860] AH01992: SSL library error 1 reading data
[Sat Mar 03 18:23:06.844497 2018] [ssl:info] [pid 5892] SSL Library Error: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
[Sat Mar 03 18:23:07.054533 2018] [proxy:debug] [pid 5893] proxy_util.c(1843): AH00925: initializing worker https://host/ shared
[Sat Mar 03 18:23:07.054583 2018] [proxy:debug] [pid 5893] proxy_util.c(1885): AH00927: initializing worker https://host/ local
[Sat Mar 03 18:23:07.054597 2018] [proxy:debug] [pid 5893] proxy_util.c(1936): AH00931: initialized single connection worker in child 5893 for (host)
[Sat Mar 03 18:23:11.849565 2018] [ssl:info] [pid 5892] (70007)The timeout specified has expired: [client 172.20.6.150:56860] AH01991: SSL input filter read failed.
[Sat Mar 03 18:23:11.849662 2018] [ssl:debug] [pid 5892] ssl_engine_io.c(993): [client 172.20.6.150:56860] AH02001: Connection closed to child 4 with standard shutdown (server localhost:443)
[Sat Mar 03 18:23:52.003050 2018] [ssl:info] [pid 5888] [client 172.20.7.77:53311] AH01964: Connection to child 0 established (server localhost:443)
[Sat Mar 03 18:23:52.019141 2018] [ssl:debug] [pid 5888] ssl_engine_kernel.c(1823): [client 172.20.7.77:53311] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Sat Mar 03 18:23:52.019411 2018] [ssl:debug] [pid 5888] ssl_engine_io.c(993): [client 172.20.7.77:53311] AH02001: Connection closed to child 0 with standard shutdown (server localhost:443)
[Sat Mar 03 18:24:52.001523 2018] [ssl:info] [pid 5889] [client 172.20.7.77:53884] AH01964: Connection to child 1 established (server localhost:443)
[Sat Mar 03 18:24:52.016324 2018] [ssl:debug] [pid 5889] ssl_engine_kernel.c(1823): [client 172.20.7.77:53884] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Sat Mar 03 18:24:52.018222 2018] [ssl:debug] [pid 5889] ssl_engine_io.c(993): [client 172.20.7.77:53884] AH02001: Connection closed to child 1 with standard shutdown (server localhost:443)
[Sat Mar 03 18:25:52.000848 2018] [ssl:info] [pid 5890] [client 172.20.7.77:54435] AH01964: Connection to child 2 established (server localhost:443)
[Sat Mar 03 18:25:52.018430 2018] [ssl:debug] [pid 5890] ssl_engine_kernel.c(1823): [client 172.20.7.77:54435] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Sat Mar 03 18:25:52.018656 2018] [ssl:debug] [pid 5890] ssl_engine_io.c(993): [client 172.20.7.77:54435] AH02001: Connection closed to child 2 with standard shutdown (server localhost:443)
I have tried many tests with curl but nothing (with client auth options) :
curl -v -k --cert /cert.crt.key https://host/path
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* NSS error -12286 (SSL_ERROR_NO_CYPHER_OVERLAP)
* Cannot communicate securely with peer: no common encryption algorithm(s).
* Closing connection 0
curl: (35) Cannot communicate securely with peer: no common encryption algorithm(s).
I have dump trafic using tcpdump and analyse it with ssldump and I have a handshake failure (only client hello but non server hello) :
ssldump -nr /trace.cap
New TCP connection #1: 172.20.7.85(44122) <-> xxx.xxx.111.106(443)
1 1 0.1201 (0.1201) C>S Handshake
ClientHello
Version 3.3
cipher suites
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
Unknown value 0xcca9
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Unknown value 0xcca8
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_256_CBC_SHA
TLS_DHE_DSS_WITH_AES_256_CBC_SHA
TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
Unknown value 0xccaa
TLS_DHE_RSA_WITH_AES_128_CBC_SHA
TLS_DHE_DSS_WITH_AES_128_CBC_SHA
TLS_DHE_RSA_WITH_AES_128_CBC_SHA256
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
TLS_RSA_WITH_AES_256_GCM_SHA384
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_AES_256_CBC_SHA256
TLS_RSA_WITH_AES_128_GCM_SHA256
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_128_CBC_SHA256
TLS_RSA_WITH_3DES_EDE_CBC_SHA
TLS_RSA_WITH_RC4_128_SHA
TLS_RSA_WITH_RC4_128_MD5
compression methods
NULL
1 2 0.1507 (0.0305) S>C Alert
level fatal
value handshake_failure
1 0.1508 (0.0000) C>S TCP FIN
1 0.1803 (0.0294) S>C TCP FIN
It seems I have never the "server hello" from the server and so never have server cipher.
I'm trying with openssl client like this :
openssl s_client -connect host:443 -cert /mycert.pem -key /mycert.key -debug -state
SSL_connect:SSLv2/v3 write client hello A
read from 0xc48060 [0xc7dc00] (7 bytes => 7 (0x7))
0000 - 15 03 01 00 02 02 28 ......(
SSL3 alert read:fatal:handshake failure
SSL_connect:error in SSLv2/v3 read server hello A
140342855083936:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:769:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 289 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
Key-Arg : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
Start Time: 1520095823
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
I have also tried with wget :
wget -v -d --secure-protocol=TLSv1 --no-check-certificate --certificate=/cert.pem --private-key=/cert.key https://host
URI encoding = «UTF-8»
Created socket 3.
Releasing 0x0000000002538850 (new refcount 1).
Initiating SSL handshake.
SSL handshake failed.
OpenSSL: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
Closed fd 3
Incapable d'établir une connexion SSL.
Files are pem b64 format and not encryption password.
I have added CA autority certificate from both remote ssl server and client authentificate certificate (intranet CA) in ca-bundle (redhat).
It seems to work with Internet Explorer (using only tls1.0) !!
Anyone can help me ? Is certificate (ssl server or auth client) can be the problem or not (because it handshake stop after 'client hello') ?
I'm going to tried with fiddler like a proxy https server from Windows IE...
Thank you

proxy_http:error [pid 12216:tid 1348] [client 135.215.11.191:63376] AH01114: HTTP: failed to make connection to backend: 127.0.0.1

I am working on ROR(Ruby on rails) project and that application is hosted on APACHE 2.4 server.
My Application is running fine without fail but some times it is getting down. And I have to restart server to make it up.
I checked the error.log file in APACHE and found below lines that can explorer more to you.
LOG
[Tue Jul 26 12:34:43.837275 2016] [wsgi:warn] [pid 12216:tid 668] mod_wsgi: Compiled for Python/2.7.9+.
[Tue Jul 26 12:34:43.837275 2016] [wsgi:warn] [pid 12216:tid 668] mod_wsgi: Runtime using Python/2.7.12.
[Tue Jul 26 12:34:43.880279 2016] [mpm_winnt:notice] [pid 12216:tid 668] AH00354: Child: Starting 64 worker threads.
[Tue Jul 26 12:46:57.009585 2016] [proxy:error] [pid 12216:tid 1348] (OS 10061)No connection could be made because the target machine actively refused it. : AH00957: HTTP: attempt to connect to 127.0.0.1:3020 (127.0.0.1) failed
[Tue Jul 26 12:46:57.009585 2016] [proxy:error] [pid 12216:tid 1348] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
[Tue Jul 26 12:46:57.009585 2016] [proxy_http:error] [pid 12216:tid 1348] [client 135.215.11.191:63376] AH01114: HTTP: failed to make connection to backend: 127.0.0.1
Please suggest something that I don't need to restart my server frequently. And my application runs for long time.

Apache2.4 SSL mode doesn't work

I just configured an Apache2.4 server to work in SSL mode. I generated the key and Self Signed Cerfificate, edited the conf/httpd.conf and conf/extra/httpd-ssl.conf and after uncommenting Include conf/extra/httpd-ssl.conf from httpd.conf file, the server doesn't start. Here is the log file:
[Sun Jan 17 18:31:47.122863 2016] [ssl:warn] [pid 5736:tid 468] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e configured -- resuming normal operations
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Sun Jan 17 18:31:47.122863 2016] [core:notice] [pid 5736:tid 468] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00418: Parent: Created child process 5832
[Sun Jan 17 18:31:47.715664 2016] [ssl:warn] [pid 5832:tid 408] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 17 18:31:47.731264 2016] [mpm_winnt:notice] [pid 5832:tid 408] AH00354: Child: Starting 64 worker threads.
[Sun Jan 17 18:49:38.248874 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Jan 17 18:49:40.249988 2016] [mpm_winnt:notice] [pid 5832:tid 408] AH00364: Child: All worker threads have exited.
[Sun Jan 17 18:49:40.263989 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00430: Parent: Child process 5832 exited successfully.
Could you tell me what is the problem?
EDIT:
Launching httpd.exe gives this error:
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

Apache server not responding on xampp

I know this question has been asked before, but I upgraded to windows 10. My xampp was working fine before the upgrade and now it is not. Apache does not run now. I had problems with skype before, so I removed it, which freed the port for apache.
2:06:09 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
2:06:09 PM [Apache] Apache WILL NOT start without the configured ports free!
2:06:09 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
2:06:09 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
Is there any way I can find out what is using that port and stop it? I have tried changing the port number in the config file to 8080, but it does not seem to work. Any ideas?
Here are the error logs after I changed the port to 8080:
[Thu Aug 27 14:10:10.207404 2015] [ssl:warn] [pid 3576:tid 524] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 27 14:10:10.583181 2015] [ssl:warn] [pid 3576:tid 524] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 27 14:10:10.755107 2015] [mpm_winnt:notice] [pid 3576:tid 524] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.11 configured -- resuming normal operations
[Thu Aug 27 14:10:10.755107 2015] [mpm_winnt:notice] [pid 3576:tid 524] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Thu Aug 27 14:10:10.755107 2015] [core:notice] [pid 3576:tid 524] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/XAMPP/apache'
[Thu Aug 27 14:10:10.770732 2015] [mpm_winnt:notice] [pid 3576:tid 524] AH00418: Parent: Created child process 10308
[Thu Aug 27 14:10:12.035120 2015] [ssl:warn] [pid 10308:tid 572] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 27 14:10:12.395328 2015] [ssl:warn] [pid 10308:tid 572] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Aug 27 14:10:12.535958 2015] [mpm_winnt:notice] [pid 10308:tid 572] AH00354: Child: Starting 150 worker threads.

Xampp - localhost not working

Although apache seems as "working" on xampp control panel,I can't reach the localhost or 127.0.0.1 . I changed 80 port to 81 but not solved.
httpd.cong -> Listen 0.0.0.0:80
My host file in system32/drivers/etc directory is like
127.0.0.1 localhost
Last log in the apache error log is
[Tue Jul 14 22:54:33.141632 2015] [mpm_winnt:notice] [pid 2620:tid 392] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Jul 14 22:54:35.145746 2015] [mpm_winnt:notice] [pid 4708:tid 288] AH00364: Child: All worker threads have exited.
[Tue Jul 14 22:54:35.188749 2015] [mpm_winnt:notice] [pid 2620:tid 392] AH00430: Parent: Child process 4708 exited successfully.
[Tue Jul 14 22:54:36.218808 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00455: Apache/2.4.7 (Win32) PHP/5.5.9 configured -- resuming normal operations
[Tue Jul 14 22:54:36.218808 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Tue Jul 14 22:54:36.218808 2015] [core:notice] [pid 1376:tid 392] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Jul 14 22:54:36.470822 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00418: Parent: Created child process 1296
[Tue Jul 14 22:54:36.984851 2015] [mpm_winnt:notice] [pid 1296:tid 288] AH00354: Child: Starting 150 worker threads.
Sometimes the port 80 is used by other applications on windows such as skype.
Try changing the ports to 8080 in the apache>config>httpd.conf
and to 4433 in the apache>config>httpd-ssl.conf
Sometimes your network maybe creating an issue. Try disconnecting the network and reloading the localhost. If it works, then its your network restrictions.