I have followed the below step guide(URL) to setup Oracle on Mac OS. Everything is fine on the guest side. But, I am facing some issues in host level.
I can connect database in Guest (Virtual box) but, when I tried to open the connection from host then I got a below error message.
"ORA-01017: invalid username/password; logon denied.
Note: I am unable to do the step to stop the firewall on Guest.
sqlplus hr/oracle@cdb1 SQL*Plus: Release 18.104.22.168.0 Production on Wed Nov 18 13:32:48 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. ERROR: ORA-01017: invalid username/password; logon denied
Update: file - /usr/local/oracle/admin/network/tnsnames.ora
cdb1= (description= (address_list= (address = (protocol = TCP)(host = 127.0.0.1)(port = 1521)) ) (connect_data = (service_name=cdb1) ) )