1. XAMPP cannot start on port 80
By default, Windows 10 starts Microsoft IIS on port 80, which is the same default port used by Apache in XAMPP. As a result, Apache cannot bind to port 80.
To check whether port 80 is in use, open a command prompt and run these commands:
- Code: Select all
netstat -o -n -a | findstr 0.0.0.0:80
netstat -o -n -a | findstr 127.0.0.1:80
To disable IIS from running on port 80, follow these steps:
- Open the Services panel in Computer Management.
- Search for the "World Wide Web Publishing Service" and select it.
- Click the link to "Stop the service".
- Double-click the service name.
- In the "Startup type" field, change the startup type to "Disabled".
- Click "OK" to save your changes.
You should now be able to start Apache in XAMPP on port 80.
2. The Microsoft Edge browser cannot be used to access local addresses using the machine host name.
If your local machine has the host name 'myhost', you will not be able to access URLs such as http://myhost in Microsoft Edge. To resolve this, you should instead use the addresses http://127.0.0.1 or http://localhost.