Internal webserver can be started multiple times on the same port
Offen
@devnexen arbeitet bereits daran.
Seit 26.12.2023.
Bug
OS: Windows
SAPI: cli_server
Status: Needs Triage
- Vorherrschende Sprache
- C
- Sterne
- 40.4k
- Forks
- 8.2k
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 96
Beschreibung
Description
The following code:
php.exe -S 127.0.0.1:8080 -t .
Resulted in this output:
[Mon Dec 25 16:36:46 2023] PHP 8.3.0 Development Server (http://127.0.0.1:8080) started
But I expected this output instead:
error if another server is already started on the same port
IDK if this is only a Windows issue, but I would expect php webserver to require listening port exclusively on any OS.
PHP Version
any (tested 7.4 and 8.3)
Operating System
Windows
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.