Forum Moderators: phranque
I have just installed the EasyPHP package which includes Apache and MySQL. When trying to launch Apache I get a port conflict error on port 80. It says that port 80 is currently in use by inetinfo.exe
I can go in and disable inetinfo.exe and Microsoft IIS, but I wanted to know if this will cause any problems or if there is a way to adjust the port used by IIS.
Any help is greatly appreciated.
Thank you
Matt
Here is a brief quickie overview of how the "net" works.
A server connected to the internet communicates through Packets - groups of data in small bytes. When a packet reaches a server it has to send it through a "port" or doorway if you will, into the server so it gets processed correctly.
Certain internet functions run through standard ports, such as HTTP traffic (web pages) on port 80, email on port 25, FTP o nport 21, etc. A server has thousands and thousands of available ports for all kinds of functions.
A webserver, such as IIS (inetinfo.exe), or Apache, will try to install itself to run on a default HTTP port - 80.
On your computer, you must have enabled the IIS, which will run on port 80. If you want to use both Apache and IIS togethe, you can do this, but you will need to configure Apache to run on a different port. 8000 is a good common one to use.
You can configure Apache to listen for packets on any port.
When someone wants to call a web page from your server through IIS, they just type the name normally: www.example.com
If you want it to go through apache, you will need to specify www.example.com:8000
OR, just diable the IIS and run Apache over port 80.
Good luck with your class.