Hi Ravi,
For more clarification as Raghu and Nitin mentioned - From OS level means -
Login in your quality server from PUTTY using admin user and after that ping or telnet to your JDBC server. Additionally, I will request you to check the JDBC diver installation once again in Quality environment though it looks like error is just connection related.
Thanks,
Apu