Jump to content

Archived

This topic is now archived and is closed to further replies.

dcarva

New to Apache Web Server - Need help

Recommended Posts

Hello,

 

I am new to Apache HTTP Server on Windows 2000 Server. I just installed it. I get the following error when I try to run Apache.exe.

 

\"C:Program FilesApache GroupApache2bin>apache

(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\"

 

It looks to me like I didn\'t set the IP address of my machine. Well, I don\'t have one. I have Cable and I get dynamic IPs. Anyway, I changed the setting in the httpd.conf file from 0.0.0.0:80 to *.80. Someone told me that might work, but it didn\'t. Can I run the web server under localhost? How to fix?

 

I appreciate any help.

Danny

Share this post


Link to post
Share on other sites

Thanks for the reply. I changed the port to 8080. But instead of errors, nothing happens. It just hangs. Here is what the line looks like:

 

Listen 8080

 

Now, if I use localhost:8080 or *:8080, I get the same error as before. Any other suggestions? I really want to learn how to use Apache Web Server.

 

Thanks a million for you reply!!

Danny

Share this post


Link to post
Share on other sites

Same thing has happened to me b4. I think its because you are trying to start apache when it is already started.

Share this post


Link to post
Share on other sites

I think Sol above is on the right track, it could indeed be that. Or it could be the fact that you have IIS running as a service. Apache is trying to claim the same resources as ISS. Uninstalling ISS should do the trick.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.