Skip to main content
Known Participant
June 2, 2011
Question

Apache port 80 in use error

  • June 2, 2011
  • 5 replies
  • 19261 views

Win 32 XP Pro SP3

Followed David Powers article and installede Xampp and at the end got an error "port 80 or 443(ssl) already in use. Installing Apache 2.2 service failed"

Looked in Xampp .apache/logs but there is no error file

This topic has been closed for replies.

5 replies

New Participant
July 5, 2011

Hello Sir,

I had installed wamp server on one window with port 8080......and it worked fine on that window......but now i'm having a great problem in  installing the php on my another window in E drive.....I hav tried both Wamp as well as Xampp ......   and changed their ports to 8888 and 8080 respectively.......but of no use....

The moment I write "http://localhost:8080/phpmyadmin" or "htt://localhost:8888/" ...... it takes a long time to load the page...and at the end it says Unable to open the page......as the server isn't responding................................please help me .....Here's my XAMPP  panel.....

New Participant
June 21, 2011

I am using Mr. Power's book to learn PHP for Dreamweaver CS5.  I'm on a Windows 7 pro system.  I followed the directions to install XAMPP but couldn't install b/c port 80 is being used by "NT Kernel & System".  I changed the port from 80 to 88 both places in C:\xampp\apache\conf\httpd.conf (using the Apache Friends forums) which then worked.

When trying to finish up the exercise at http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html#articlecontentAdobe_numberedheader_2, everything works great using http://localhost:88/php_test/ until the end.  I can't get the MySQL to work. 

I set everything according to the directions on http://localhost:88/phpmyadmin .  I've set up a user account called 'testUser'@'localhost:88' with the password 'xyz'.  I put in the information as:

Connection Name: connTest

MySQL Server:      localhost:88

User Name:           testUser

Password:             xyz

Database:             php_test

When I either click on "select" (for the database) or click "test", the "File Activity - localhost" box comes up and goes to "(Not Responding)" status within a few seconds.  The box is white the entire time, the text I'm coping comes from the header bar.  After a minute or two, a box comes up saying "a server timeout has occured. Possible reasons: 1. Make sure web server is up and running 2.verify ODBC DSN exists on test server".  Not sure what to do from there.  (If I've clicked on the "select" button by database, Dreamweaver will lock up so I have to shut down and restart b/c it keeps going back to the "File Activity" box.)

I've also tried having MySQL Server: "localhost".  Then I get a MySQL error #1045 Access denied for user 'testUser' @ 'localhost' (using password:YES) - but I know the user name & password are correct.  I've tried retyping both 10+ times!  This is very frustrating for me, any help is much appreciated.

New Participant
June 21, 2011

I forgot to add the XAMPP is running in the background and shows Apache and MySQL running.

Also, when I set up the user name 'testUser'  for php_test, on the "host", I selected "local" then defined the name as 'localhost:88'

gbotourAuthor
Known Participant
June 21, 2011

In my case the use of localhost:8888 wqas the answer

gbotourAuthor
Known Participant
June 3, 2011

The culprit is Kservice.exe

David_Powers
Inspiring
June 4, 2011

I don't know what Kservice.exe does, but see if you can change its configuration to use a different port. Otherwise, you need to change the Apache port as described earlier.

gbotourAuthor
Known Participant
June 5, 2011

Bingo ! That's it. I feel like I'm flying. You can get back to the bar now David.

Many thanks for your time.

Now, it would be great if these posts could be consolidated into a resource somewhere for the benefit of the next one to hit the same problem(s). The normal search option doesn't always get to where you want to be.


A follow up issue is trying to connect to MySQL Admin.

I entered http://localhost:8888/MySQL in IE8 and got "object not found"

gbotourAuthor
Known Participant
June 2, 2011

Uninstalled then re-installed.

Didn't get the port 80 error but when I open the Xammp control panel I see that the MYSQL service is running but the Apache service is not. I click on "Start" Apache svc" and in the lower panel it states "Apache service started"

However when I go to http://localhost or localhost80 or localhost8080 I get "IE cannot display the web page"

David_Powers
Inspiring
June 2, 2011

gbotour wrote:

I click on "Start" Apache svc" and in the lower panel it states "Apache service started"

Yes, it might have started, but the question is whether it's still running. Unless you see the "Running" label, as shown in the following screenshot, it ain't running:

If it fails to start, read the Apache error log.If you installed in the default location, it's at C:\xampp\apache\logs\error.log.

gbotourAuthor
Known Participant
June 2, 2011

As I said David.

function(){return A.apply(null,[this].concat($A(arguments)))} I see that the MYSQL service is running but the Apache service is not.

function(){return A.apply(null,[this].concat($A(arguments)))}

Looked in Xampp .apache/logs but there is no error file


Dunno why these function statements appear. I copied and pasted from my previous posts.

Participating Frequently
June 2, 2011

Just a wild guess, but do you have IIS running?

gbotourAuthor
Known Participant
June 2, 2011

No