dcsimg
RMI client is denied access to the RMI server running on Linux on port 1099
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   pradeep_Dias
Posted On:   Thursday, May 31, 2001 10:33 PM

Hi gurus, all of us here have been racking our brains trying to figure out this error. we have a rmi client connecting to a linux box running the rmi server. when the server class is executed on the linux box, it says that it has created a new rmi registry is on port 1099. But when i execute the client from a win2k or NT machine it refuses a connection. new rmi registry is on port 1099 bound to new rmi registry registered server when i try to connect from a local machine this is the error i get J:>vdflogin chams Password:ppp Connecting to VDFServer.. rmi://10.2.3.243:9099/RamoraVD   More>>

Hi gurus,

all of us here have been racking our brains trying to figure out this error.



we have a rmi client connecting to a linux box running the rmi server. when the server class is executed on the linux box, it says that it has created a new rmi registry is on port 1099. But when i execute the client from a win2k or NT machine it refuses a connection.




new rmi registry is on port 1099
bound to new rmi registry
registered server




when i try to connect from a local machine this is the error i get










J:>vdflogin chams
Password:ppp
Connecting to VDFServer.. rmi://10.2.3.243:9099/RamoraVDFServer
comment - no Registry manager
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested excepti
on is:
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket. (Unknown Source)
at java.net.Socket. (Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
ource)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
ource)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.erunway.ramora.server.CRamVDFServerControl_Stub.login(Unknown Sou
rce)
at com.erunway.ramora.subscriber.CmdLogin.main(CmdLogin.java:78)

J:>telnet 102.2.3.243 9099
Connecting To 102.2.3.243...Could not open a connection to host on port 9099 : C
onnect failed







i have security policy files running on both the machines that run the client and the server also grant full access.



Is there anything more i can try to get this working, its really irritating.



pradeep

   <<Less
About | Sitemap | Contact