I just started to use OA, and find it is a cool tool to keep track of what is on your network. It runs right out of box (in Windows) in C:\ under port 80. However, the server that I want to use OA already has something running on port 80. Changing Apache to run on 8080 doesn’t work. After digging around, finally I can make it work under port 8080. Unfortunately, I am not a programmer. The change I make was to hard code it to port 8080, which means it could break somewhere that I haven’t noticed yet. Mark could probably already have this fixed in the next version already. Anyway, here you go for those who wants to use OA 9.2 in Windows port 8080.
1) In XAMPP control panel, open Apache’s httpd.conf, and change the following:
Change “Listen 80†to “Listen 8080â€
Change “ServerName localhost:80†to “ServerName localhost:8080â€
2) Open config.php under C:\XAMPP\OAv2\code_igniter\application\config
# $config['base_url'] .= isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] != '80' ? ( ':'.$_SERVER['SERVER_PORT'] ) : '';
3) Open config.php under C:\xampp\OAv2\code_igniter\system\core
I am not sure about the logic here so I am going to add a line inside of function __construct() to hard code it to port 8080
$base_url = 'http://localhost:8080/';