From 774ed4bc01a4b5bcee6c4259a5e8cc7b1b850a5e Mon Sep 17 00:00:00 2001 From: Xantios Krugor Date: Sat, 3 Jul 2021 15:33:08 +0200 Subject: [PATCH] Dont mind this commit --- src/HttpServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpServer.php b/src/HttpServer.php index 7cc538b..8b715b8 100644 --- a/src/HttpServer.php +++ b/src/HttpServer.php @@ -54,7 +54,7 @@ public function __construct(array $config,LoopInterface $loop,OutputInterface $o public function run(): void { - $socket = new \React\Socket\Server($this->port,$this->loop); + $socket = new \React\Socket\Server($this->host.":".$this->port,$this->loop); $this->output->writeln('Listening on '.$this->host.":".$this->port.''); $this->server->listen($socket); }