Re: OpenJMS Server Configuration and NAT
Ken M <wgold-WNUMbkg7HQH83n0zhJamUgC/[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hi tom - I ran into the same kind of problem. Hope it helps. Tim Anderson wrote: I think you're after the internalHost attribute of <TcpConfiguration/>: http://openjms.sourceforge.net/config/reference.html#TcpConfiguration internalHost : This is only applicable when the OpenJMS server is behind a NAT firewall. It becomes the internal address the server is known by and the host address in ServerConfiguration <http://openjms.sourceforge.net/config/reference.html#ServerConfiguration> is the external address. Clients will attempt to connect to /host/ first. If that fails, they will try to connect to /internalHost/. Ken Tom Kline wrote: > I am trying to get OpenJMS server use TCPS and RMI connections up and > running on a Linux server that is behind a router. The machine's > external IP address goes to the router which than forwards traffic to > the server which has an Internal IP address. If the "host" attribute > of ServerConfiguration is set to the external IP address then OpenJMS > will not start. If the "host" attribute is set to the internal IP > address it will start but external clients will be given the > "internal" IP address to connect to and are unable to connect. > > > > Anyone have an openjms.xml configuration file that works in this type > of environment??? > > > > > > > > --------------------------------- > > Thanks, > > Tom Kline > > Metrosplash Systems Group, Inc. > > 2300 Highland Village Rd. > > Suite 700 > > Highland Village, TX 75077 > > (214)908-6640 > > >