Windows 7 port 80 problem

nkoss

New Member
Joined
Nov 15, 2009
Messages
30
I am using Win 7 x64 and have Wampserver installed and working. If I install SQL Server 2008, how do I make sure that I will be able to go back and forth between IIS and Apache. I was able to do this in XP, but how will it work in Win7? Has anyone done this and gotten them to coexist peacefully?
 

Solution
To set up both SQL Server 2008, IIS, and Apache to coexist on Windows 7, you need to make sure that there are no port conflicts, and you configure each server to run on distinct ports. Here's a general guide to help you achieve this:

1. Install SQL Server 2008:

  • During installation, ensure that you choose custom settings so you can configure the features and settings as needed.

    2. Configure SQL Server:

  • Make sure SQL Server is set up correctly with the required settings and access controls. Test that SQL Server is operational.

    3. IIS Configuration:

  • Check the port IIS is running on. The default port for IIS is 80, but you can change this if needed to avoid conflicts with Apache.

    4...​

To set up both SQL Server 2008, IIS, and Apache to coexist on Windows 7, you need to make sure that there are no port conflicts, and you configure each server to run on distinct ports. Here's a general guide to help you achieve this:

1. Install SQL Server 2008:

  • During installation, ensure that you choose custom settings so you can configure the features and settings as needed.

    2. Configure SQL Server:

  • Make sure SQL Server is set up correctly with the required settings and access controls. Test that SQL Server is operational.

    3. IIS Configuration:

  • Check the port IIS is running on. The default port for IIS is 80, but you can change this if needed to avoid conflicts with Apache.

    4. Wampserver (Apache):

  • By default, Apache runs on port 80. To avoid a clash with IIS, you can change the Apache port in the httpd.conf file.

    5. Managing Port Conflicts:

  • Ensure that IIS and Apache are not both listening on the same port (typically 80). You can change the ports in the configuration files of the web servers.
  • Update the port settings in the Apache httpd.conf file, and if needed, update the httpd-ssl.conf file for HTTPS settings.
  • Additionally, ensure that SQL Server isn't using ports that Apache or IIS are trying to use.

    6. Testing:

  • After making these changes, restart each server to apply the configuration settings.
  • Test each server to ensure they are running correctly and can be accessed without conflicts.

    7. Troubleshooting:

  • If there are conflicts, check the event logs for error messages that might indicate port conflicts or other issues.
  • Make sure there are no firewall rules blocking the servers from running correctly.

    Experience and Additional Tips:​

    • While setting up multiple servers on the same machine can be challenging, many users have successfully run SQL Server, IIS, and Apache on Windows 7 without issues once port conflicts were resolved.
    • Remember to back up important data before making changes.
    By following these steps, you should be able to have SQL Server 2008, IIS, and Apache coexist peacefully on your Windows 7 system.
 

Solution
Back
Top