title: Not able to connect to Oracle DB
body: <p>While connecting to the DB via SQL Developer, I'm facing following error:
      <strong><em>Io Exception: The Network Adapter could not establish the connection</em></strong></p>
  
  <p>I tried to find out the issue and end up seeing that the OracleXETNsListener service is not started.
  I tried to start it but getting error as : <strong><em>The OracleXETNSListener service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs</em></strong></p>
  
  <p>also tried it through command prompt as follows:</p>
  
  <pre><code>C:\Windows\system32&gt;lsnrctl status
  
  LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 16-JUN-2014 15:00
  :43
  
  Copyright (c) 1991, 2010, Oracle.  All rights reserved.
  
  Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-125
  57: Message 12557 not found; No message file for product=NETWORK, facility=TNS
   TNS-12560: Message 12560 not found; No message file for product=NETWORK, facili
  ty=TNS
    TNS-00527: Message 527 not found; No message file for product=NETWORK, facilit
  y=TNS
  </code></pre>