From b2bab648173ac69f0a10421750125517accdfe26 Mon Sep 17 00:00:00 2001 From: inaz2 Date: Sun, 25 Jun 2017 18:59:04 +0900 Subject: [PATCH] update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5951b1c..b2bd264 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,15 @@ Just run as a script: $ python proxy2.py ``` -Above command runs the proxy on tcp/8080. +Above command runs the proxy on localhost:8080. +Verify it works by typing the below command on another terminal of the same host. + +``` +$ http_proxy=localhost:8080 curl http://www.example.com/ +``` + +proxy2 is made for debugging/testing, so it only accepts connections from localhost. + To use another port, specify the port number as the first argument. ```