I just recently installed SQL Developer on Bootcamp, and tried to create a new basic connection with the following attributes:
Connection name: conn1
Username: user1
Password: ****
Connection type: basic, Role: default
Hostname: localhost
Port: 1521
SID: xe
When tested, the error was: Network adapter could not establish the connection
, no matter the type of role was given, or the type of authentication. I also tried entering IP as a hostname to replace localhost, and changing port. Still same issue.
Thanks.