]> git.mxchange.org Git - hub.git/blobdiff - application/hub/config-local.php-dist
Rewrites, some more methods:
[hub.git] / application / hub / config-local.php-dist
index a977f0362a0464c7bae543ff8f81c54cc76b819b..2df73dfc0798e0d617634f68171e440218f73f65 100644 (file)
  */
 
 // Some hub-specific configuration like port hostname where we will listen, etc.
-$cfg = FrameworkConfiguration::getInstance();
+$cfg = FrameworkConfiguration::getSelfInstance();
 
 // CFG: NODE-LISTEN-ADDR
 $cfg->setConfigEntry('node_listen_addr', '0.0.0.0');
 
-// CFG: NODE-TCP-LISTEN-PORT
-$cfg->setConfigEntry('node_tcp_listen_port', 9060);
-
-// CFG: NODE-UDP-LISTEN-PORT
-$cfg->setConfigEntry('node_udp_listen_port', 9060);
+// CFG: NODE-LISTEN-PORT
+$cfg->setConfigEntry('node_listen_port', 9060);
 
 // CFG: NODE-DEFAULT-MODE (can be 'regular', 'list', 'master' or 'boot', default is 'regular')
 $cfg->setConfigEntry('node_default_mode', 'regular');
 
 // CFG: EXTERNAL-IP
-$cfg->setConfigEntry('external_ip', '');
+// Use this if auto-detection fails! $cfg->setConfigEntry('external_ip', '');
 
 // CFG: HUB-BOOTSTRAP-NODES
 $cfg->setConfigEntry('hub_bootstrap_nodes', '188.138.90.169:9060');