I'm trying to connect to the oracle database via sqlplus hosted on a remote instance using command like this sqlplus [email protected]:port/SchemaName
. And on typing password it throws weird client host issue. See the screenshot below.
The question is which host name its expecting me to put inside /etc/hosts
?
Whereas I can telnet
successfully to same instance without any issues. By the way I'm on MacOS 10.15.7
.
Oracle clients were installed using this
The installation was moved to the appropriate folder.
The $PATH
was also exported to ~/.bash_profile
file
CodePudding user response:
I was able to resolve this issue by the solution mentioned on this
The hostname entry looks like below