Failed to connect to Oracle

Hi, Using DQ Analyser for the first time .I have oracle client in my system and i can connect to oracle through my command line and also using other client tools like sql developer.
I tried configuring jdbc and also porovided host/post etc in dialog box. But the test connection always fails with “Failed to conncet to Oracle” message

Can you please help