Default ports
Each service in Bearsampp listens on a default port. These are the ports most likely to conflict with other software already running on your machine:| Service | Default Port |
|---|---|
| Apache (HTTP) | 80 |
| Apache (HTTPS) | 443 |
| MySQL | 3306 |
| MariaDB | 3307 |
| PostgreSQL | 5432 |
| Memcached | 11211 |
| Mailpit SMTP | 1025 |
| Xlight FTP | 21 |
Detecting a port conflict
Bearsampp can check whether a port is in use and which process is holding it:- Right-click the Bearsampp tray icon.
- Go to [module name] → Check port [N].
- Bearsampp displays one of two results:
- “Port X is used by [process name]” — the port is occupied by a specific service Bearsampp recognizes.
- “Port X is used by another application” — the port is occupied by an unrecognized process.
- “Port X is not used” — the port is free; a conflict is not the cause of the issue.
Fixing a port conflict
The simplest fix is to assign Bearsampp’s service to a different, unused port:Enter a new port number
Type a port number that is not in use. For Apache,
8080 is a common alternative to 80. For HTTPS, try 8443.After changing Apache’s port, your local sites will be accessible at
http://localhost:8080 instead of http://localhost. Update any bookmarks or project URLs accordingly.Common sources of conflicts
Port 80 and 443 — Apache
Port 80 and 443 — Apache
These ports are used by IIS (Internet Information Services), which is bundled with Windows and may be running even if you haven’t set it up manually. Older versions of Skype also used port 80 as a fallback.To disable IIS: Open the Start menu, search for Turn Windows features on or off, and uncheck Internet Information Services. Restart your computer, then start Bearsampp.Alternatively, change Apache’s port to
8080 as described above.Port 3306 — MySQL
Port 3306 — MySQL
Another MySQL instance — from a previous installation, XAMPP, or another WAMP stack — is likely running in the background.Check the Windows Services panel (
services.msc) for any service named MySQL and stop or disable it before starting Bearsampp’s MySQL.Port 5432 — PostgreSQL
Port 5432 — PostgreSQL
A standalone PostgreSQL installation or another development stack may already be running a PostgreSQL service.Open
services.msc, find the conflicting PostgreSQL service, and stop it. Alternatively, change Bearsampp’s PostgreSQL port to 5433.Finding the conflicting process manually
If Bearsampp’s port check does not identify the process, you can use the Windows command line:80, along with the Process ID (PID) in the last column. To identify the process:
- Open Task Manager (
Ctrl + Shift + Esc). - Go to the Details tab.
- Find the row where the PID matches the number from the
netstatoutput. - The Name column shows the executable using the port.
