diff --git a/core/Communication/CommunicationManager.php b/core/Communication/CommunicationManager.php index 2a094bbb..9f748cda 100644 --- a/core/Communication/CommunicationManager.php +++ b/core/Communication/CommunicationManager.php @@ -293,7 +293,7 @@ class CommunicationManager implements CallbackListener, UsageInformationAble { }); }); //TODO check if port is closed - $this->socket->listen($socketPort, $this->maniaControl->getServer()->ip); + $this->socket->listen($socketPort, '0.0.0.0'); Logger::log("[CommunicationManager] Socket " . $this->maniaControl->getServer()->ip . ":" . $this->socket->getPort() . " Successfully created!"); } catch (ConnectionException $e) { @@ -315,4 +315,4 @@ class CommunicationManager implements CallbackListener, UsageInformationAble { $communication->tick(); } } -} \ No newline at end of file +}