• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI Connection

 
luis veron
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic