为什么我的remoting进行跨网段访问失败啊?我在不同计算机,同一网段访问都可以,为什么啊

解决方案 »

  1.   

    试过了,在服务器端需要设置公网IP,默认是使用localhost,所以在外网不能防问
      

  2.   

    如果本机既有个内网IP,也有个外网IP,如何在程序中指定让它使用外网IP,我试过使用
     IDictionary tcpProperties = new Hashtable(); 
       tcpProperties["port"] = 8888; 
       tcpProperties["rejectRemoteRequests"] = false; 
       tcpProperties["bindTo"] = "xxx.xxx.xxx.xxx"; 
    当xxx.xxx.xxx.xxx为外网IP时,会出错,为内网IP运行正常
      

  3.   

    需要在Nat服务器上使用端口映射