服务器安装有两块网卡,一块指向内网,一块指向外网。
路由信息如下:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.84.0.1 10.84.2.30 20
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.176 20
10.84.0.0 255.255.0.0 10.84.2.30 10.84.2.30 20
10.84.2.30 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.84.2.30 10.84.2.30 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.176 192.168.0.176 20
192.168.0.0 255.255.255.0 192.168.0.1 192.168.0.176 3
192.168.0.176 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.0.255 255.255.255.255 192.168.0.176 192.168.0.176 20
224.0.0.0 240.0.0.0 10.84.2.30 10.84.2.30 20
224.0.0.0 240.0.0.0 192.168.0.176 192.168.0.176 20
255.255.255.255 255.255.255.255 10.84.2.30 10.84.2.30 1
255.255.255.255 255.255.255.255 192.168.0.176 192.168.0.176 1
Default Gateway: 10.84.0.1
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.0.0 255.255.255.0 192.168.0.1 3内网IP段为192.168.0.*remoting类为一个ServiceContainer类。在客户端直接调用这个类的方法,返回类型为String或者基本类型的时候都没有问题。但是当返回一个类的时候,出现SocketException。长时间没有反映。此时如果禁用掉指向外网的网卡,则一切正常。
请问有没有兄弟遇到过这类问题,怎么解决的?
路由信息如下:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.84.0.1 10.84.2.30 20
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.176 20
10.84.0.0 255.255.0.0 10.84.2.30 10.84.2.30 20
10.84.2.30 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.84.2.30 10.84.2.30 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.176 192.168.0.176 20
192.168.0.0 255.255.255.0 192.168.0.1 192.168.0.176 3
192.168.0.176 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.0.255 255.255.255.255 192.168.0.176 192.168.0.176 20
224.0.0.0 240.0.0.0 10.84.2.30 10.84.2.30 20
224.0.0.0 240.0.0.0 192.168.0.176 192.168.0.176 20
255.255.255.255 255.255.255.255 10.84.2.30 10.84.2.30 1
255.255.255.255 255.255.255.255 192.168.0.176 192.168.0.176 1
Default Gateway: 10.84.0.1
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
192.168.0.0 255.255.255.0 192.168.0.1 3内网IP段为192.168.0.*remoting类为一个ServiceContainer类。在客户端直接调用这个类的方法,返回类型为String或者基本类型的时候都没有问题。但是当返回一个类的时候,出现SocketException。长时间没有反映。此时如果禁用掉指向外网的网卡,则一切正常。
请问有没有兄弟遇到过这类问题,怎么解决的?
Remoting会为客户端激活对象分配一个URL,问题存在于当我用外网URL获得客户端激活对象时,Remoting分配的是内网的URL,导致发生无法连接远程服务器的错误.
解决方法,在配置中指定URL
另:在XP+Remoting 2.0+双网卡则不出现此问题,因此,可把此问题看作2003的一个BUG