Socks proxy and Intelij

To run tests on remote server sometimes we need to go on it through jump server. At this case very helpful is the next command (creates SOCKS proxy pipe):

ssh -D 1337 -f -C -q -N <jump server> -p 22

At this case to use socks proxy by JVM running tests, put next options

-ea  -DsocksProxyHost=localhost  -DsocksProxyPort=1337

into the Edit configuration -> VM options pop-up.

Comments

Popular posts from this blog

Install Kubeflow locally

RabbitMQ and OpenShift