Forums Register Login

URLyBird: RMI Server

+Pie Number of slices to send: Send
Hello, all!!

I have to questions about RMI Server:

#1: When I run the client app and it connects to the rmi server two file are created: suncertify.properties (that's ok) and a blank xxx.db file. I don't know why it is creating the db file.

#2: When I run the client app in the same network the server is the connection with the server is ok! But if I try to run the client from a different network it connects to the server but than for any other action (search, for instance) it says that the connection was refused by the server... I've configured the port forwarding in my router but it still didn't work...

Can anyone help me??

Thank's in advance!

+Pie Number of slices to send: Send
Howdy, Alexandre!!!

For question #1, this shouldn't really be happening, so you'll have to investigate closely what's wrong (it's kindda' hard to tell what is wrong without seeing the code )

For question #2, I assumed the server and the client would always be running in the same network, so if you can have a client connect to the server from the same network, it should be ok!
+Pie Number of slices to send: Send
#1: I'll debug the code again to see what is going on...
#2: It is working when the client and server are in the same network! So I will not worry about that...

Thank's for your reply, Roberto!
Hang a left on main. Then read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 965 times.
Similar Threads
client and database URLyBird
RMI app - java.rmi.ConnectException
The mode flag
TCP Sampler in jmeter to test client-server
accessing database on server from a local machine as when required
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 03:27:43.