IntelliJ Java IDE
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes RMI Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "RMI Connection" Watch "RMI Connection" New topic
Author

RMI Connection

luis veron
Ranch Hand

Joined: Mar 07, 2001
Posts: 35
hello again,
I'm having a problem trying to start my server..my command is:
C:\MyDevelopment\initialbldr\classes>java -classpath C:\MyDevelopment\initialbldr\classes;C:\MyDevelopment\initialbldr\classes\sunbldr\client -Djava.rmi.server.codebase=file://
-Djava.rmi.server.hostname=203.101.14.114
-Djava.security.policy=java.policy sunbldr.server.RemoteDBServer
203.101.14.114 2050
the error is:
java.rmi.ConnectException: Connection refused to host: 203.101.14.114; nested exception is:
java.net.ConnectException: Connection refused: no further information
java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
....
I started my rmiregistry before executing the above command. I have my java.polcicy defined as "AllPermission". I reckon my ISP have some kind of a firewall (BTW i'm currently connected to the internet).
Is there a way to worked around with this issue..
Glad if you can write a reply..
Thanks,
luis
 
 
subject: RMI Connection
 
Threads others viewed
Java RMI Connection Problem
java.rmi.ConnectException
RMI from start to finish
Problem running Naming.rebind in RMI
rmi-server port.
MyEclipse, The Clear Choice