Skip to content

Commit

Permalink
Changes to be committed:
Browse files Browse the repository at this point in the history
	modified:   src/libraries/Console/Commands/Server/Serve.php
  • Loading branch information
juancristobalgd1 committed Mar 1, 2024
1 parent 6173638 commit e3c75cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libraries/Console/Commands/Server/Serve.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ public function run(array $params)
$scheme = 'http'; // Assuming default scheme is http for simplicity

// Attempt alternative ports
if (!$port = $this->findAvailablePort($host, $port)) {
CLI::error('Could not bind to any port');
exit;
}
// if (!$port = $this->findAvailablePort($host, $port)) {
// CLI::error('Could not bind to any port');
// exit;
// }

// Server up
$this->printServerInfo($scheme, $host, $port);
Expand Down

0 comments on commit e3c75cd

Please sign in to comment.