[nSLUG] Ubuntu Port

Ben Armstrong synrg at sanctuary.nslug.ns.ca
Thu Jul 19 09:23:01 ADT 2007


On Thu, 19 Jul 2007 09:10:57 -0300
sbo at eastlink.ca wrote:
> Someone is running JBoss on an Ubuntu box and the port associated to this application is 10001.

Ah.  It helps to know the application.  Some apps are more complicated
to set up behind a firewall.  Have you seen this article?

http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall

In particular the following might be tripping you up (but do go read the *whole* article):

Then, on the system behind the firewall, the following parameters need to be added to the java command line in the run.sh script to pass back the "correct" RMI information to the system outside of the firewall. "Correct" in this case means the hostname that the outside system refers to when addressing the system behind the firewall.

    -Djava.rmi.server.hostname=<external_host_name>
    -Djava.rmi.server.useLocalHostname=true

This solves the problem of the machine behind the firewall passing back it's local IP address that the machine outside the firewall cannot get to. NOTE: this assumes a pretty simple setup where everything outside the firewall references the machine behind the firewall with the same host name.


Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca   synrg at sanctuary.nslug.ns.ca
 \`'  Debian   http://www.debian.org    synrg at debian.org
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]



More information about the nSLUG mailing list