Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

HTTP Error 404- Not found, Port 80 is being used by another application issue?

When clicking on run apache in ampr, I am given an error message that

Apache port:80 is being used by another application.

I am also given an HTTP Error 404- Not Found when clicking on the home button of ampr.

Does anyone have any suggestions? I have tried allowing access to the port and several other solutions through Google but nothing seems to be working. Also, I had a proxy server set up because of an error before, but after restarting my computer the settings are no longer saved and that is when I started having these problems again. However, I had a friend help me set that up in my settings but I am hesitant to set that up without help because I don't want to mess up my internet connection. Is anyone aware of what I would put in the proxy server fields to possible solve this?

side note: I am using Windows

UPDATE: I have tried changing the port to 8080 and I am now receiving this screen.

"Welcome to phpMyAdmin

Error

MySQL said: Documentation

1045 - Access denied for user 'root'@'localhost' (using password: NO)

mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO) Connection for controluser as defined in your configuration failed.

mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO)

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server."

Julian Gutierrez
Julian Gutierrez
19,201 Points

Are you using skype while trying to run Apache?

2 Answers

Julian Gutierrez No I am not, I only have the Skype preview and I logged out of that.

Let's back track here for a second. First what are you trying to do? have a live site using WordPress run? or updating the DB? Are you using a migration plugin?

I am trying to work on wordpress through loacalhost. I downloaded ampr and wordpress because I was having issues with the other program (xampp I believe) they suggested in the video. I finally got this one to work and then when I shutdown my computer ampr started having port issues. I just started the Wordpress module so I haven't gotten to making a live site yet.

Okay cool. I use a mac so I can't help with the windows aspect of it, but did you try and using WAMP not XAMP. here is WAMP's website I would start there and see if you can get things working, also I saw a very helpful post on there forum here it was posted last year, so it "might" be outdated but it goes though in detail some setup. I would go through the tutorial on WAMP's website and try and get it working, Review the blog post as WAMP may not be able to work on your hardware. If you can't get want to work, and you want to try something else, granted it is a much more command line required setup you can try using scotch box, you may have to install Ruby to get it going. As you are a windows user you might run into setup errors. Don't worry you are not alone, if you do, take a look at this github issue here scotch box for windows I hope this helps. Sorry but due to me using a mac I can't go into details as to how to set a local environment on a windows machine. if you get stuck please describe the issue and we'll take a look at it.