Turned out it was a proxy issue.
While pulling the code from GIT using Jenkins it was setting the http_proxy to mycom.domain.com:80 and this proxy was not required in the slave node.
So, I have added GIT URL to No Proxy Host section in Jenkins and now it is working fine.
Hope it will help you resolve your query.