Good afternoon, what happens is that I have an error when trying to create a connection in SQLDeveloper "Status: Fail: Failed to test: Listener refused the connection with the following error: ORA-12505, TNS: listener does not currently know of SID given in connect descriptor "
Attached image of creating the connection:
Attached picture of my TNSNAMES.ORA
If you could help me from the bottom of my heart, thank you very much.
Attached command image: set ORACLE_SID = XE
Attached image of the result of the tnsping xe command
Attached image of the second command sqlplus system @ XE
I enclose photo with the command sqlplus system @ XE after placing localhost