问题描述
我有一个服务器运行CentOS 6.0,我试图使用它作为远程主机的cuda调试。为了做到这一点,我在服务器和我的笔记本电脑上安装了cuda-toolkit 5.5,它运行ubuntu 12.10操作系统。我配置了两个机器,因为NVIDIA-cuda指令告诉我,但当我开始Nsight eclipse版本,并试图远程调试我的cuda应用程序,我碰到错误,说:
I have a Server running CentOS 6.0 and I'm trying to use it as a remote host for cuda debugging. In order to do this, I installed cuda-toolkit 5.5 both on the server and my notebook, which is running ubuntu 12.10 OS. 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:
-target-select remote 192.168.2.105:2345
-target-select remote 192.168.2.105:2345
调试器后端出现错误消息:
Error message from debugger back end:
192.168.2.105:2345:连接超时
192.168.2.105:2345: Connection timed out
我googled这个错误,有人说这是一个防火墙问题,我需要手动打开端口,所以我修改了/ etc / sysconfig / iptables文件,并添加: p>
I googled this error, someones says it is a firewall issue and I need to open the port manually, so I modified the /etc/sysconfig/iptables file and add this:
打开2345端口。但结果是没有用。任何人都可以给我一些建议,并帮助我解决这个问题?
to open the 2345 port. But it turn out to be of no use. Can anyone give me some suggestion and help me solve this problem?
顺便说一句,我已经测试了本地调试使用nsight eclipse版本在我的服务器,它的工作原理。
By the way, I have tested local debugging using nsight eclipse edition on my server, and it works well.
推荐答案
我在OpenSuse服务器中也有同样的问题。
I have the same problem in an OpenSuse server. I have managed to make it work by disabling the firewall in the server.
#/sbin/rcSuSEfirewall2 stop
您可以稍后开始
#/sbin/rcSuSEfirewall2 start
这篇关于nsight eclipse远程调试超时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!