Skip to content

Commit 42b4b35

Browse files
committed
Mentioned the use of the '*' IP address in the web server
1 parent ab53d29 commit 42b4b35

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup/built_in_web_server.rst

+7
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,15 @@ can change the socket passing an IP address and a port as a command-line argumen
3333

3434
.. code-block:: terminal
3535
36+
# passing a specific IP and port
3637
$ php bin/console server:start 192.168.0.1:8080
3738
39+
# passing '*' as the IP means to use 0.0.0.0 (i.e. any local IP address)
40+
$ php bin/console server:start *:8080
41+
42+
.. versionadded:: 3.4
43+
The support of ``*`` as a valid IP address was introduced in Symfony 3.4.
44+
3845
.. note::
3946

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

0 commit comments

Comments
 (0)