Just in case this might be helpful for others: I was having an issue with SQL Developer v24, where it wouldn't let me select a database directly.
To get around it, I typed the connection string in the Hostname
field and left Port
and Choose Database
fields blank.