I have EM 12c rel 3 installed on Linux and am trying to connect to it from emcli in interactive mode from windows machine
I installed emcli advanced kit and did setup for it so able to execute verbs
However attempts to connect to OMS in interactive mode lead to the error.
Oracle Enterprise Manager 12c EMCLI with Scripting option Version 18.104.22.168.0.
Copyright (c) 1996, 2013 Oracle Corporation and/or its affiliates. All rights reserved.
Type help() for help and exit() to get out.
Error: Connection to the current OMS could not be established. Check the log files for further details
At the same time I have no problems to connect to OMS from emcli on the OMS host
To rule out any network/firewall causes, verify if you can to connect to the OMS host on port 7799 from the Windows machine in question.
For example, if you have telnet on the machine, you can try the following:
$ telnet 192.168.1.17 7799
You should see something like:
Trying ... 192.168.1.17 ..
Connected to <hostname> (192.168.1.17).
Escape character is '^]'.
You can also check if you are able to connect to the console on URL https://192.168.1.17:7799/em from the Windows machine.