How to fix Socket Timeout error?

While adding services we are getting the “CRITICAL-Socket Timeout” error. We are using nscp agent for communicating. The TCP port 12489 is opened. Confirmed that the service is running in the agent machine. Any solution for this?