Spring RMI, connection refused
I'm deploying Spr开发者_StackOverflow中文版ing based RMI server on one machine(10.11.11.11), and the RMI client running on another machine(10.12.11.12), but once client trying to connect RMI server then client throw an "Connection refused" exception, and then I tried to telnet to RMI Server at client side but the response is connected.
Both two machines are Linux system and if running on Windows everything is OK.
Do anybody know what am I missing when using Linux.
if you have more than one interface in machine, use "-Djava.rmi.server.hostname=machine_ip" note : this is your exporter interface ip
精彩评论