I'm currently trying to test the network connectivity between 2 computers for the remote client and server. The operating system I'm currently using is Windows XP. I have created the a separate network name for each computer and a shared workgroup name using the Network Setup wizard. I have placed all shared documentation in the "shared Documents" folder of both computers. Unfortunately though, when I run the server, it starts but I have getting no details for the running server under the "netstats" command prompt option.
I also tried to run the network client upon a different computer and I'm wondering what I need to connect to server on different computer, is it just the other computer name or is it the Workgroup name? Any help/advice appreciated.
I am not a Microsoft Windows Expert but AFAIK Java RMI relies only on basic and plain TCP/IP Network Connectivity so you don't need to mess around with Workgroups, etc.
What you need to do and make sure is to have the IP addresses of BOTH systems running Windows in C:\WINDOWS\system32\drivers\etc\hosts.
You can edit this text file with Notepad.
You can open a Command Prompt to find out the IP address of the system by using the command ipconfig /all and then testing basic TCP/IP Connectivity with ping using as the argument the IP address of the other system.
Keep in mind if any of the systems is using DHCP the IP addresses they are using might change the next time they are rebooted.
If you have a router it should be straightforward: when I tested my application on 2 computers (1 desktop and 1 laptop), I plugged a network cable in the router, 1 for each computer (of course). Then I started my server application on the laptop (database file was on the laptop itself). Finally I started the client application in networked mode, just entering the ip address of the laptop and the port number I used to run the server on the laptop. It worked just like that, no network setup wizard or other configurations.
Cheers, got this working. The main issue was I was missing a driver for one of network cards on a PC. Was very easy to setup after that, and great to know how simple it is for 2 computers to communicate using TCP/IP. Thanks for everyone's help!