'How to get username/password/hostname/port/SID to establish connection in SQL developer

I installed Oracle database 21c and sqldeveloper. During the installation of oracle database 21c I inputted my password upon the prompt. I tried to key in the password and the given username SYS to create connection in sqldeveloper but I got the error

Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=9mv7VkLpQniPUhJwegf7OQ==)

I'm trying to create a local database to practice SQL and I'm not looking to connect to an external database. What should I do in order to achieve my goal?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source