For server level, you can try this.
you have to change catalina.bat/catalina.sh file
jvm OPTIONS :catalina.bat -Dsun.net.client.defaultConnectTimeout=60000/ -Dsun.net.client.defaultReadTimeout=60000catalina.sh file
jvm OPTIONS : -Dsun.net.client.defaultConnectTimeout=60000 -Dsun.net.client.defaultReadTimeout=60000