Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tomcat Server Port Number: Why do I have to enter the port number?

843835Mar 15 2002 — edited Mar 16 2002
My ultimate goal is to setup a website that displays data from a database. I will use Java, Apache, Oracle, and whatever else I need to create a website the uses servlets, JavaServer Pages, and JDBC.

I�ve got four Pentium III computers:
1. Windows 2000 Server to be the web server (MyWebServer, IP = 10.10.1.1).
2. Windows 2000 Professional to be the database server (MyDatabaseServer, IP = 10.10.1.2).
3. Windows 2000 Professional that I use to develop and test (MyDeveloperPC, IP = 10.10.1.3).
4. Windows 2000 Professional that I use as a client to connect to the website (MyClientPC, IP = 10.10.1.4).

I installed Java Web Services Developer Pack on MyWebServer. It requires Java 2 Standard Edition (J2SE), so I installed that first. The files I downloaded and installed are as follows:

J2SE: j2sdk-1_4_0-rc-win.exe
JWSDP: jwsdp-1_0-ea1-win.exe

After installing these products, I set the environment variables as follows:

JAVA_HOME = c:\j2se
JWSDP_HOME = c:\jwsdp
Path = c:\j2se\bin;c:\jwsdp\bin; [and other previous statements]

On MyWebServer I start Tomcat (from the JWSDP menu option). It starts properly (as far as I can tell).

Then, from MyClientPC I open Internet Explorer and in the address box I type:

http://10.10.1.1

�The page cannot be displayed�.

I then try again and add the port number:

http://10.10.1.1:8080

This displays the page c:\jwsdp\webapps\root\index.html.

Here�s my question: Why do I have to enter the port number to get a page displayed? Do I have to have Apache HTTP Server running on MyWebServer to display pages without entering the port number?

Thanks for your help.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2002
Added on Mar 15 2002
3 comments
464 views