]> granicus.if.org Git - php/commitdiff
...
authorkrakjoe <joe.watkins@live.co.uk>
Fri, 29 Nov 2013 20:03:50 +0000 (20:03 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Fri, 29 Nov 2013 20:03:50 +0000 (20:03 +0000)
tutorials/remote.md

index aed145f30d07db281e82fa5eddc9ddfccb07fce4..72bac6efb18502d55fd114cc80e426dc88315a14 100644 (file)
@@ -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
 ============================