Merge pull request #8 from jonthekiller/jonthekiller-patch-10
Change binding to 0.0.0.0
This commit is contained in:
		| @@ -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(); | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user