From java running on Windows, I need to access a file on a remote Ubuntu machine. I use the following:
URL U = new URL ( "http://" + SERVER_IP + ":" + SERVER_PORT + "/" + ClsName + ".class" );
where:
- SERVER_IP is the Ubuntu IP address obtained from any site that shows the IP address of the machine you are using.
- SERVER_PORT is the Ubuntu port where the server is listening.
Now:
- Do I need to modify this code any further?
- Do I need to configure the Windows and/or Ubuntu machine(s) for this to work?
Thank you