[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS behind a firewall

PeterJ do-not-reply at jboss.com
Wed Jul 19 11:32:40 EDT 2006


It appears that your client is using JNDI to look up something on the server, and JNDI uses ports 1099, 1098, 4444 and 4445.  At least, those are the ports I had to open in my firewall to allow outside client access.  You will want to either open those ports in the firewall, or assign different ports which are open.

Actually, now that I think about it a little longer, I was also attempting to access MBeans, so some of those ports might be JMX related.  I was going to be lazy and not look it up, but curiosity overwhelmed be, so here is what I found:

* 1098 and 1099 are JNDI-related
* 4444 and 4445 are RMI-related (for accessing JMX, EJBs, etc)

I assume that in your client when you get the base naming context that you are using a url other than http://the-server:1098.  I'm not sure how you convince the jbossclient code to use other values for the other ports.  (Hmm, sounds like a research topic to me.  Or as one of my professors liked to say, the solution is obvious and is left as an exercise for the student. :-))



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959183#3959183

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959183



More information about the jboss-user mailing list