nsight eclipse Remote connection closed

I use Nsight Eclipse Edition for remote debug I have a Server running CentOS 7.4 and I’m trying to use it as a remote host for cuda debugging. In order to do this, I installed cuda-toolkit 9.1 on two server. I configured the two machines as the NVIDIA-cuda-instruction told me, yet when I started the Nsight eclipse edition and tried to remote debug my cuda applications, I ran into error, whcih says:

Error in final launch sequence Failed to execute MI command:
-target-select remote
Error message from debugger back end:
Remote connection closed
Remote connection closed

By the way, I have tested local debugging using nsight eclipse edition on my server, and it works well.