Changing the default apache port does not resolve on Windows 10?

Asked

Viewed 250 times

0

I did the normal installation of xampp, after running xampp-control I’m having the errors:

10:20:09  [mysql]   Error: MySQL shutdown unexpectedly.
10:20:09  [mysql]   This may be due to a blocked port, missing dependencies, 
10:20:09  [mysql]   improper privileges, a crash, or a shutdown by another method.
10:20:09  [mysql]   Press the Logs button to view error logs and check
10:20:09  [mysql]   the Windows Event Viewer for more clues
10:20:09  [mysql]   If you need more help, copy and post this
10:20:09  [mysql]   entire log window on the forums
10:20:10  [Apache]  Status change detected: stopped
10:20:10  [Apache]  Error: Apache shutdown unexpectedly.
10:20:10  [Apache]  This may be due to a blocked port, missing dependencies, 
10:20:10  [Apache]  improper privileges, a crash, or a shutdown by another method.
10:20:10  [Apache]  Press the Logs button to view error logs and check
10:20:10  [Apache]  the Windows Event Viewer for more clues
10:20:10  [Apache]  If you need more help, copy and post this
10:20:10  [Apache]  entire log window on the forums

I made the change from apache port to 83 and ssl port left the same, more does not run, I have IIS on the machine more never had this problem.

  • I made the configuration, stopped the IIS server and left it as manual, apache works, plus mysql does not work.

  • But the problem is apache or mysql?

  • mysql, apache I changed the port and stopped IIS,

  • Remember that apache only hosts your site, not your mysql. Therefore, it is necessary that you perform a request trying the server (localhost:83) and a request trying to access mysql (localhost:3306 I think), after the requests check whether these tools wrote the access attempts in a log file :p.

  • Try accessing mysql from the command line in the bin folder to see if the error appears on the console or post its error log. I think it’s best to create an exclusive question for mysql.

  • 1

    I discovered the problem, I have the java environment, it was started and this was giving conflict, I stopped Tomcat, start mysql and then I went back to Tomcat and it worked. Now I got it all working.

  • Create the custom of answering your own questions when you find the answer on your own ;)

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.