title: telnet : could not open connection to host
body: <p>I am trying to remotely access oracle DB using jdbc but got problems, after searching through i learned that ports might be blocked by the firewall.
  I am getting the following error when i am executing the command to test if port is opened or not, <br></p>
  
  <pre><code>telnet MyIP 1521
   Connecting to MyIP...Could not open connection to the host, on port 1521 : Connect failed
  </code></pre>
  
  <p>I tried opening the ports by making new inbound rule but still the error exists.<br>
  Atlast i turned my firewall off but it's still the same.<br>
  If i try the same command for localhost, i.e., </p>
  
  <pre><code> telnet localhost 1521 
  </code></pre>
  
  <p>It works, but using my ip address it's not.
  How can i resolve this ?</p>