Start the server on the command line:
java -jar proxy.jar <host> <remoteport> <localport> [options]
This is the host address of the CRX instance that you want to connect to. If the instance is on your local machine, then this will be localhost.
This is the host port of the target CRX instance. For example, the default of a newly installed CQ installation is 4502 and the default for a newly installed CQ author instance is 4502.
This is the port on your local machine that you wish to connect to to access the CRX instance through the proxy.
-q (quiet mode)
Does not write the output to the console window. Use this if you do not want to slow down the connection, or if you log the output to a file (see -logfile option).
-b (binary mode)
If you are looking for specific byte combinations in the traffic, enable binary mode. The output will then contain the hexadecimal and character output.
-t (time stamp log entries)
Adds a time stamp to each log output. The time stamp is in seconds, so it may not be suitable for checking single requests. Use it to locate events that occurred at a specific time if you use the proxy server over a longer time period.
-logfile <filename> (write to log file)
Writes the client-server conversation to a log file. This parameter also works in quiet mode.
-i <numIndentions> (add indention)
Each active connection is indented for better readability. Default is 16 levels. This feature was introduced with proxy.jar version 1.16.