Mar 4, 2014

Tunnel local web interface

Assuming we have a local web admin (e.g. Solr Admin on 8833), we want to view it via our browser. Because it's not exposed as public server, we will tunnel via SSH:

Using a server target port from localhost local port, then access via http://localhost:{local_port}
ssh -L {local_port}:localhost:{target_port} {user}@{host}

No comments:

Post a Comment

New comment