General |  Social Media |  Miscellaneous
srcraft blog logo
  • Business
  • News
  • Shopping
  • Travel
  • Disease
  • Pets
  • Life
  • Health
  • Technology
  • Category
  • Contact Us
Latest Blog : 
☛ Best Europe cities to travel with Toddlers ☛ Make Your Limousine Ride Even More Special: 10 Top Ideas ☛ Leverage SEO Services to Secure Success for Your Storage Company ☛ Telerehab physical therapy : healing at your fingertips ☛ 10 Best Activities in India for Thrills and Relaxation ☛ Wedding Limos That Redefine Luxury Transportation ☛ Flying with Family: A Guide to Kid-Friendly Travel from Calgary to Kelowna ☛ How To Protect Your Privacy Online? [Complete Guide] ☛ Help and kindness is the biggest religion ☛ Burning bamboo wood is prohibited in the scriptures, Why 
Home > Innovation & Technology > Mysql

Error: Apache shutdown unexpectedly and how to fix a Blocked Port in XAMPP


Error:

2:06:22 PM  [Apache]    Error: Apache shutdown unexpectedly.

2:06:22 PM  [Apache]    This may be due to a blocked port, missing dependencies,

2:06:22 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.

2:06:22 PM  [Apache]    Press the Logs button to view error logs and check

2:06:22 PM  [Apache]    the Windows Event Viewer for more clues

2:06:22 PM  [Apache]    If you need more help, copy and post this

2:06:22 PM  [Apache]    entire log window on the forums

This is happening, if you have installed Skype on your computer. By default Skype is using Port number 80 and localhost is also using Port number 80. This is creating issue with each other. So you have to change port number for solving this issue.

 For disabling port number in Skype, follow below mention steps

  1. Open Skype
  2. Click on Tools
  3. Click on Options
  4. Click on Advanced
  5. Click on Connection

You will find checkbox with below mention text

Use port 80 and 443 for alternatives for incoming connections

  1. Disable it by clicking on checkbox

Then sign out skype and close all skype windows.

Now restart your Apache server.

 

If it is not working then follow below steps

  1. In the XAMPP Control panel, click on Config (Right hand top corner)

Here you will find Editor: this popup. We will open Apache configuration file in notepad.

Write full path of notepad or simply write notepad.exe into Editor: text box then save it.

 

  1. Click on Config by Apache and select httpd.conf (First option)

Here search Listen 80 and change it to Listen 8080

After that search ServerName localhost:80 and change it to ServerName localhost:8080

 

  1. If you are running Secure Sockets Layer (SSL), then you will need to change in to httpd-ssl.conf file:

Here search Listen 443 and change it to Listen 4433

After that search <VirtualHost _default_:443> and change it to <VirtualHost _default_:4443>

Again search ServerName www.example.com:443 and change it to ServerName localhost:4443

 

  1. Now in XAMPP control panel, Click on main config button (Right hand top corner)

Here you will find Service and Port Settings button. Click on Service and Port Settings button

Here you will find Apache Setting under Apache tab like Service name: ApacheX.X, Main port: 80, SSL: 443

Now Change the Main Port to 8080 instead of 80 and change the SSL Port 4433 instead of 443.

  1. Now close all configuration file of XAMPP Apache.
  2. And Stop and Start Apache again.

If problem is not solve then close XAMPP and re-open XAMPP.

Now open your favorite browser and type http://localhost:8080/ or Click on admin button under Apache.

Written By: Charles Miller Published in Mysql


Search

Publish your passions on srcraftblog.com

Latest Post

☛ Best Europe cities to travel with Toddlers

☛ Make Your Limousine Ride Even More Special: 10 Top Ideas

☛ Leverage SEO Services to Secure Success for Your Storage Company

☛ Telerehab physical therapy : healing at your fingertips

☛ 10 Best Activities in India for Thrills and Relaxation

☛ Wedding Limos That Redefine Luxury Transportation

☛ Flying with Family: A Guide to Kid-Friendly Travel from Calgary to Kelowna

☛ How To Protect Your Privacy Online? [Complete Guide]

☛ Help and kindness is the biggest religion

☛ Burning bamboo wood is prohibited in the scriptures, Why


We are accepting well-written informative Guest Posts on srcraftblog.com

Innovation & Technology

Artificial Intelligent blogs
Cryptocurrency blogs
Digital India blogs
Data science blogs
Neuroscience blogs
Programming blogs

Physical science

Physics blogs
Chemistry blogs
Earth science blogs
Geology blogs
Oceanography blogs
Meteorology blogs

Industry

Business blogs
Economy blogs
Freelancing blogs
Leadership blogs
Productivity blogs
Work blogs

Society

Basic income blogs
Education blogs
Environment blogs
Media blogs
Philosophy blogs
Women blogs
About us |  Write for us |  Terms and conditions |  Contact us

© 2023 SRCRAFT INIDA