com php-src: ...: tutorials/remote.md
| From: | Bob Weinand | Date: | Fri, 29 Nov 2013 20:03:50 +0000 |
| Subject: | com php-src: ...: tutorials/remote.md | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75356@lists.php.net to get a copy of this message | ||
Commit: 195c518dd12a8c4fa29f20d1fdab4cc0b29c74cd
Author: krakjoe <joe.watkins@live.co.uk> Fri, 29 Nov 2013 20:03:50 +0000
Parents: 31c4861f67f24c8a9a1b89f7cc33105c562b6863
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=195c518dd12a8c4fa29f20d1fdab4cc0b29c74cd
Log:
..
Changed paths:
M tutorials/remote.md
Diff:
diff --git a/tutorials/remote.md b/tutorials/remote.md
index aed145f..72bac6e 100644
--- a/tutorials/remote.md
+++ b/tutorials/remote.md
@@ -23,8 +23,31 @@ This will initialize phpdbg in Remote Console Mode, using port 4000 for stdin an
To stop the service, send *SIGINT* to the phpdbg process, this will force it to bailout, as
gracefully as it ever does.
-*To get help using these options see the help menu in phpdbg "help options"*
+Specific Ports
+--------------
+To listen on specific ports, the -l flag will accept a pair of ports in the following way:
+
+```
+./phpdbg -l4000/8000
+```
+
+Specific Interfaces
+-------------------
+
+To bind to a specific interface, or all interfaces use the -a flag:
+
+```
+./phpdbg -l4000 -a192.168.0.3
+```
+
+Will bind the Remote Console to the interface with the specified address, while:
+
+```
+./phpdbg -l4000 -a
+```
+
+Will bind the Remote Console to all available addresses.
Starting phpdbg-jui Anywhere
============================