Access an application on remote machine without having access to the port from your browser. Sometimes when there is firewalls that block all ports to the outside world or any other reasons, you can to port forwarding from remote machine to local machine in order to be abke to see the application UI. For solving this problem you can use
This allows anyone on the remote server to connect to TCP port 5601 on the remote server. The connection will then be tunneled back to the client host, and the client then makes a TCP connection to port 8085 on localhost. Any other host name or IP address could be used instead of localhost to specify the host to connect to.
Now if you head over to your browser you can enter URL
#linux #ssh #port_forwarding #forwarding #remote_forwarding
ssh
for port forwarding
:ssh -L 5601:localhost:8085 YOUR_HOST
This allows anyone on the remote server to connect to TCP port 5601 on the remote server. The connection will then be tunneled back to the client host, and the client then makes a TCP connection to port 8085 on localhost. Any other host name or IP address could be used instead of localhost to specify the host to connect to.
Now if you head over to your browser you can enter URL
localhost:8085
to see the remote application.#linux #ssh #port_forwarding #forwarding #remote_forwarding