× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Joe.  I will try WEB400-L and see what responses I get from there.

Chad


-----Original Message-----
From: Joe Pluta [mailto:joepluta@xxxxxxxxxxxxxxxxx] 
Sent: Friday, March 05, 2004 11:24 AM
To: 'Java Programming on and around the iSeries / AS400'
Subject: RE: Setting Tomcat for the Internet

> From: cornelius, chad
> 
> I have never setup a webserver for the internet but will need to very
> quickly.  I have Tomcat 5.0 setup on the ISeries as a stand-alone.
Does
> anyone know the process of configuring Tomcat so that it can be
accessed
> via
> the web?  I normally use it in house such as
> http://hostname:8080/app/test.jsp <http://hostname:8080/app/test.jsp>
.
> However, I do not know the process of setting it up so that you can
access
> it from www.domainname.net <http://www.domainname.net/> .  Any ideas
or
> suggestions?

You'd be better off asking this on the WEB400-L mailing list, I think,
but I'll give you a basic rundown:

1. You have to have a static IP address
2. You have to own the domain name
3. You have to point the domain to your static IP address

If your iSeries is wide open to the Internet, that's all you need.
However, most people these days configure their iSeries with an internal
address, usually a 10.x.x.x address, which is "non-routable", meaning it
can't be accessed from the Internet.  Then, they use a router with
something called NAT (Network Address Translation) to translate the
static IP address (from step 1 above) to the appropriate 10.x.x.x
address.

The biggest problem in your case is that typically requests come in on
port 80, not port 8080.  You will either have to use
http://www.domain.net:8080 to access your machine, or you will have to
set up Tomcat to listen on port 80 rather than 8080.  I personally don't
know of any routers that do port mapping as well, though someone more
versed in this subject could certainly help.  And my guess is they are
likely to reside on WEB400-L (or perhaps even MIDRANGE-L).

Joe

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.