title: Sql Developer can conect Oracle Database 12c with TNS but can not connected with basic
body: <p>I have installed a new oracle database(12.2.0.1). I have create a pluggable database (orclpdb). I create a user Fed_Test_User in the PDB. And I can connect it by SQL developer with TNS(can connect by conn Fed_Test_User/welcome@orclpdb). But I can not connect by SQL Developer with basic connection type.</p>
  
  <p>Listener.ora: </p>
  
  <pre><code> LISTENER =
    (DESCRIPTION_LIST =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      )
    )
  </code></pre>
  
  <p>sqlnet.ora:</p>
  
  <pre><code>NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
  </code></pre>
  
  <p>tnsnames.ora:</p>
  
  <pre><code>LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
  
  
  ORCL =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      (CONNECT_DATA =
        (SERVER = DEDICATED)
        (SERVICE_NAME = orcl.us.oracle.com)
      )
    )
  
  
  ORCLPDB =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      (CONNECT_DATA =
        (SERVER = DEDICATED)
        (SERVICE_NAME =orclpdb.us.oracle.com)
      )
    )
  </code></pre>
  
  <p>lsnrctl status:</p>
  
  <pre><code>Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
  STATUS of the LISTENER
  ------------------------
  Alias                     LISTENER
  Version                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production
  Start Date                14-SEP-2018 20:38:13
  Uptime                    0 days 2 hr. 46 min. 28 sec
  Trace Level               off
  Security                  ON: Local OS Authentication
  SNMP                      OFF
  Listener Parameter File   /scratch/jxi/oracleDB/product/12c/db_1/network/admin/listener.ora
  Listener Log File         /scratch/jxi/oracleDB/diag/tnslsnr/slc16vyj/listener/alert/log.xml
  Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=slc16vyj.us.oracle.com)(PORT=5500))(Security=(my_wallet_directory=/scratch/jxi/oracleDB/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW))
  Services Summary...
  Service "75e0ec7d5ff26817e053f5e0f50a1fa4.us.oracle.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
  Service "orcl.us.oracle.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
  Service "orclXDB.us.oracle.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
  Service "orclpdb.us.oracle.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
  The command completed successfully
  </code></pre>
  
  <p>anything I missed? Hope someone can help me. Thanks;</p>