Create an SSH Tunnel
An SSH tunnel to an Oracle SOA Suite on Marketplace VM enables you to connect to other non-public ports on the VM through a port on your local machine.
If a resource provided by a VM uses a port that is not directly accessible through the Internet, you can access that resource by creating an SSH tunnel to the port. For example, you can use an SSH tunnel to connect a local Integrated Development Environment (IDE) such as Eclipse to the dedicated deployment port (9001) of the Administration Server.
In general an SSH tunnel may map a remote port to any available port number on your local machine. However, port 9001 on the Administration Server uses JMX/RMI for communication, which requires that the remote and local port numbers be the same value. Therefore, the following instructions configure the tunnel’s local port number to the same value as the VM’s port number.
To set up an SSH tunnel to an Administration Server VM:
Applications running on your local machine can now communicate with the VM by using localhost:port
, where port
is the local port number.
For example, after creating an SSH tunnel to port 9001
on the Administration Server VM, launch a web browser and connect to http://localhost:9001/console
.
Note:
After your work with the SSH tunnel is complete, press Ctrl+C to shut down the SSH tunnel.