Default ports
How to change a port
1
Right-click the Bearsampp tray icon
Find the Bearsampp bear icon in the Windows system tray (bottom-right corner of your taskbar) and right-click it.
2
Open the service menu
Hover over the name of the service whose port you want to change — for example, Apache, MySQL, or MariaDB.
3
Click Change port
In the service submenu, click Change port. A dialog box opens showing the current port number.
4
Enter the new port number
Type the new port number in the input field. Port numbers must be between
1 and 65535. Ports below 1024 require Administrator privileges.5
Click Finish
Click Finish to apply the change. Bearsampp will update the service configuration and restart the service automatically.
Checking whether a port is available
Before assigning a new port, you can verify it is not already in use by another application.1
Open the service menu
Right-click the tray icon and hover over the service you want to check.
2
Click Check port
In the service submenu, click Check port [number]. Bearsampp will tell you whether the port is free or identify which process is using it.
Port conflict detection
When Bearsampp starts a service, it automatically checks whether the configured port is already in use. If a conflict is detected, Bearsampp will:- Show an error message identifying which process is occupying the port.
- Leave the service stopped rather than forcibly taking the port.
Windows services such as IIS (Internet Information Services) often occupy port
80 or 443 by default. If Apache fails to start, check whether IIS is running on your system.