Most likely it is Instant Messaging running on port 1099
Actually, most of the time it seems the process using port 1099 has something to do with CIFS (Windows network filesystem) access to mapped network drives. But thanks for the suggestion.
This problem must come up often on Win2K systems. Is there a recommended solution?
FYI, Any application that uses RMI will likely use port 1099 (and 1098) as these are the "well known" ports for the rmiregistry and rmi activation. I would really like to know what the recommended solution is too! I have some applications that use JINI (with RMI) and I can't start the RMIregistry on the default port if Jboss is running, and I can't start JNDI (Jboss) on default port if the rmiregistry is running...
So just change the port of your naming service... ?
Yes, we definitely need to change the port number.
The question is, is there a way to pick a fixed port number that will basically never have conflicts.
I'm running on a Windows 2000 system. We had been using port 1099 for JNDI, but it seems that sometimes, some other process has grabbed that port. As I understand it, a port numbered over 1023 can be grabbed by basically any process. And such ports are typically chosen dynamically to create socket connections for other protocols like HTTP.
1099 is pretty close to 1023, and I believe these dynamically-assigned ports are generally chosen in increasing numerical order. So if I pick a much higher port number, like 11099, it's very unlikely to be used either for a dynamically-assigned port, or as the "well known port" for some other protocol. Just as 8080 works well as an alternate port for HTTP.
So is this solution the standard one? Is it reliable? Is there a better way?
Thanks in advance.
If you want to have a full automatic port allocation and discovery process, than use and extend the ServiceBindingManager for dynamic port allocation and publish the StoreURL over a standardized port like LDAP or HTTP for the clients.
But I am in doubt, if this efforts are good for hiding organizational flaws.