Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Begginer

Status
Not open for further replies.

athos07

Programmer
Aug 1, 2002
19
AU
Good day, I don't have any Idea of what I am doing. I have asp.net and sql server installed in my computer. Now I have installed apache because I want to learn the basic on how to make PHP codes. I have alread download the file. Installed in my computer but this error came out:

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

If any one can give light to my first misery learning PHP.

Thank you very much

athos07
 
Assuming your on Windows, you are proabbly running IIS which has the port open.

Change the line Wishdiak mentioned to something like

Listen *.81

save and restart apache. Now, you can get to the apache server using the URL
If you don't have IIS running and want to use TCP port 80, issue [tt]netstat -nao[/tt] in a DOS window. You will get a list of the ports your machine is listening on and current connections. Look for TCP <some.ip.add.ress>:80 and make a note of the PID. Open the task manager and look for the PID in the process tab. Now you know which process to shut down.

I hope this helps.

Have Fun! [afro2]
 
Thank you very much and sorry it took mo forever to reply. Been busy driving busses :), hope I can get back on track doing IT duties. thanks angain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top