Java Reference
In-Depth Information
Figure 9-8. Configuring the network server
Figure 9-9. Running the network server
We specified that the server should use port 1099 in Figure 9-8. With our RMI solution,
this means that the RMI registry will be listening on port 1099 (if we had chosen the socket
server, it would have meant that our server itself would have been listening on port 1099).
We can confirm this by running the netstat -a command to show all connected or listening
ports, as shown in Figure 9-10.
Figure 9-10. Checking which ports are in use
Search WWH ::




Custom Search