View Single Post
  #4 (permalink)  
Old 06-28-2007, 11:06 AM
chrishirst chrishirst is offline
Jr. Programmer
Join Date: Jun 2007
Location: Blackpool UK
Posts: 87
iTrader: (0)
chrishirst will become famous soon enoughchrishirst will become famous soon enough
Both Apache and IIS use port 80 (the HTTP port) for communication, they both cannot open it so you need to tell one of them to use a different port.

For IIS open the MMC, -> RC Default Site -> select Properties -> Change the TCP Port to something else. and Apply & OK
Open a command prompt and type iisreset & press <enter>

For Apache open the httpd.conf file -> find Port and edit the number -> save the file and restart apache

Change one of the ports to a high number, 8080 or 8088 are common choices, then one server will run on localhost and the other will be localhost:port_no

__________________
Chris
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote