How to solved this problem ? you can try a litle solution with edit port, follow this step.
To change the number of port 8080 for device connection to Kaspersky Security Center 10 Web Console: Open the httpd.conf file stored in the Apache Server work folder. For example, ': Program Files (x86) KSC Apache 2.4 Apache2.4 conf httpd.conf' with Notepad. Replace 8080 with the required port value in three places: String 1: Listen 8080. In this case, you need to check if the default port is being used by a problematic program, and then set the default port for the UniFi controller application. To do so, follow the steps below: Step 1.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit. Herein lies one of the conumdrums with Unifi switches. The 'All' designation does make a port on Unifi switches a trunk port but it also allows access (aka untagged) traffic and it's more like a hybrid port. In a way that is very confusing to understand sometimes when you start mixing tagged and untagged traffic.
1. Right click from shortcut unify controller and then properties, after that open file location. Find file with name file system.properties under directory data.
2. Open that file with text editor, you can look output when open this file
3. Change default port 8080 to port 8083, and remove hastag code like this
4. After that you can try restart your computer and try start unify contoller.
Unifi Controller Port 8080 Is Used By Other Programs Start-up Failed
5. Finish
Unifi Port 8080 Is Used By Other Programs
Unifi Port 8080 Is Used By Other Programs Startup Failed Due Diligence