Monday, July 27, 2009

Apache is giving me some problems where its not letting me connect to the server can anyone help me step by...

step





(OS 10048) Only one usage of each socket address (protocol/network/address/port) is normally permitted. :make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down, unable to open logs





In summary, I have a Windows machine running Windows XP Pro SP2 that has 2 Web Servers installed on it. The first one is Apache which I did not install and was assigned to ip address, xxx.xxx.xxx.74. For another project that my client has going, the WebCrossing Web Server was installed and assigned to ip address, xxx.xxx.xxx.78. If I type in the ip address for the WebCrossing Web Server, I get the correct website. If I type in the ip address for the Apache Server I get the Page is Under Construction Message which appears to be in the default c:\inetpub\wwwroot directory which leads me to believe that MS IIS is started. However, when I issue the iisrestart /stop command and go to the ip address for the Apache Server I still get the Page is Under Construc

Apache is giving me some problems where its not letting me connect to the server can anyone help me step by...
Maybe you could ask another 10 times in a row, see if that helps.
Reply:First off, in order to have two IP addresses, you need to have two network cards installed. If this is the case, make sure that the second Apache is binding to the correct address. It looks like it is not, as it says that it's listenign on addres 0.0.0.0:80, and instead should show the IP address. There is also a chance that your hosts file is not properly set up, and this is where you might have to add items for multiple servers/sites. I strongly suggest reading the instructions for Windows Apache about the hosts file before making any modifications.





I'm more versed with Apache 2 on Linux, but this should still be the same, as the concepts themselves don't change.
Reply:i dont no


No comments:

Post a Comment