Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```