Jump to content


Photo

New to Apache Web Server - Need help


  • Please log in to reply
4 replies to this topic

#1 dcarva

dcarva
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 04 June 2003 - 02:54 AM

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

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 04 June 2003 - 05:45 AM

Try this

http://www.phpfreaks...opic.php?t=3796

CHnage the port 80 to something like 8080

80 is HTTP port and u cant use it ..
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks

#3 dcarva

dcarva
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 05 June 2003 - 02:13 AM

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

#4 Sol

Sol
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 21 June 2003 - 07:05 PM

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

#5 rhysmeister

rhysmeister
  • Members
  • PipPipPip
  • Advanced Member
  • 51 posts
  • LocationEngland

Posted 24 June 2003 - 01:54 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users