This commit is contained in:
2020-09-07 15:23:43 +08:00
parent 8ebc0dc87a
commit bf82691f83
+1
View File
@@ -95,6 +95,7 @@ class Server extends Application
$baseServer = $this->initCore($configs);
foreach ($configs as $config) {
var_dump($this->isUse($config['port']));
if ($this->isUse($config['port'])) {
return $this->error('Port ' . $config['host'] . '::' . $config['port'] . ' is already.');
}