Skip to content

Commit 57ce127

Browse files
committed
[Cookbook][WebServer] symfony#5504 add a tip for the --force option on server:start
1 parent 8fadb17 commit 57ce127

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: cookbook/web_server/built_in.rst

+9
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ can change the socket passing an IP address and a port as a command-line argumen
3939
4040
$ php app/console server:run 192.168.0.1:8080
4141
42+
.. note::
43+
44+
You can use the ``--force`` option to force the web server start
45+
even if a web server is already running.
46+
47+
.. code-block:: bash
48+
49+
$ php app/console server:start --force
50+
4251
.. note::
4352

4453
You can use the ``server:status`` command to check if a web server is

0 commit comments

Comments
 (0)