FULL PRODUCT VERSION :
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b129)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b69, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Win7 SP1 x64
A DESCRIPTION OF THE PROBLEM :
I have got a machine with two network interfaces, and connect to two different network. two network interface addresses: 192.168.1.100/24 and 192.168.238.1/24.
I start a RMI server on port 8030 and bind a remote object to port 8031, while the client(192.168.1.104/24) run in another machine, when the client connect to server(8030), it get a proxy object with a wrong endpoint(192.168.238.1:8031), which should be (192.168.1.100:8031), and it fails to connect to the remote object , throws an exception:java.rmi.ConnectException: Connection refused to host: 192.168.238.1; nested exception is:
java.net.ConnectException: Connection timed out: connect...
REGRESSION. Last worked in version 8
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b129)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b69, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Win7 SP1 x64
A DESCRIPTION OF THE PROBLEM :
I have got a machine with two network interfaces, and connect to two different network. two network interface addresses: 192.168.1.100/24 and 192.168.238.1/24.
I start a RMI server on port 8030 and bind a remote object to port 8031, while the client(192.168.1.104/24) run in another machine, when the client connect to server(8030), it get a proxy object with a wrong endpoint(192.168.238.1:8031), which should be (192.168.1.100:8031), and it fails to connect to the remote object , throws an exception:java.rmi.ConnectException: Connection refused to host: 192.168.238.1; nested exception is:
java.net.ConnectException: Connection timed out: connect...
REGRESSION. Last worked in version 8
REPRODUCIBILITY :
This bug can be reproduced always.