Is there a firewall between client and server?. Can you telnet to Oracle port (1521)

telnet server 1521

If you can connect that means firewall is open.