Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
inaz2 committed Jun 25, 2017
1 parent 50ae4b9 commit b2bab64
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

```
Expand Down

0 comments on commit b2bab64

Please sign in to comment.