我在主机A上运行了XEmacs(和gnuserv)。我从主机B上的bash启动gnuclient但是得到了一个超时(strace输出结束见下文)。两个主机都在$ GNU_SECURE_FILE指向的文件中。这是在局域网上,我以前从未在不同的局域网上遇到过问题。
connect(3, {sa_family=AF_INET, sin_port=htons(46602), sin_addr=inet_addr("172.20.9.11")}, 16) = -1 ETIMEDOUT (Connection timed out)
dup(2) = 4
fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 15), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcf4396c000
lseek(4, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(4, "gnuclient: Connection timed out\n", 32gnuclient: Connection timed out
) = 32
close(4) = 0
munmap(0x7fcf4396c000, 4096) = 0
write(2, "gnuclient: unable to connect to "..., 39gnuclient: unable to connect to remote
) = 39
exit_group(1) = ?