DEV Community

frustigor
frustigor

Posted on

2 1

Easy-GateWay: The fastest way to setup a Proxy Server

You may run a private service on your remote server, however, one day, you want to debug something, and do not want to change your project code. You can use Easy-GateWay to setup a proxy server to serve your private service as public.

Environment required: NodeJS 10.x

npm i -g easy-gateway

Now, for example, you want to serve your private http://127.0.0.1:6000, you can do like this:

egw start --port=8080 --target=http://localhost:6000 --token=asdfjw982ng98f902jofa

Now, some other people can visit your service by using http://yourip:8080?token=asdfjw982ng98f902jofa. Isn't is easy?

To stop it, you should run in current directory:

egw stop

If you want to learn more about Easy-GateWay, visit git repo.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay