Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nisaacson/local-proxy
Proxy all requests on a given port another to port on localhost
https://github.com/nisaacson/local-proxy
Last synced: about 1 month ago
JSON representation
Proxy all requests on a given port another to port on localhost
- Host: GitHub
- URL: https://github.com/nisaacson/local-proxy
- Owner: nisaacson
- Created: 2013-04-15T21:17:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-15T21:47:43.000Z (over 11 years ago)
- Last Synced: 2024-04-15T11:14:57.052Z (7 months ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quick Proxy Server
Proxy all requests on a given port another to port on quickhost.# Installation
`npm install -g quick-proxy`# Usage
```bash
quick-proxy --listen-port --forward-port
```# Example
Say you have a Jenkins server running on port 8080 and you want to connect via port 80. You would run simple-proxy with the command```
quick-proxy --listen-port 80 --forward-port 8080
```## Alias
* `--listen-port` is aliased to `-l`
* `--forward-port` is aliased to `-f`The example above can be shortened to
```
quick-proxy -l 80 -f 8080
```# Test
```bash
# install development dependencies
npm install
# run tests
npm test
```