File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Apache web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Apache web server" Watch "Apache web server" New topic

Apache web server

Weigang Gu
Ranch Hand

Joined: Jan 16, 2001
Posts: 44
Hi, guys;
I am just starting to learn how to use servlets. I tried to install Apache web server on my computer (wind98) but I could not get it working for me. After installation, I tried to start the server and in dos console it showed the message:
Apache running...... When I tried to access http://localhost:8080 via internet explorer, i got the error message:
cannot access localhost:8080 offline.
What was wrong?
anybody out there using Apache server, please help!
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

just use http://localhost
- satya

Take a Minute, Donate an Hour, Change a Life
balu gates

Joined: Jan 05, 2001
Posts: 16
First edit the properties file then try it
in .properties file edit the servername as localhost and uncomment it
Monty Ireland
Ranch Hand

Joined: Oct 03, 2000
Posts: 161
I had a simular problem a month ago...
Is your machine connected to a network...
If it is... somewhere on your network localhost my already be defined.
I have installed apache 1/2 dozon times already...
It should not take more that 30 minutes...
P.S. I develop database software.. and have learned how to use
web servers by the school of hard knocks..
good Luck

Multi Platform Database Developer & DBA on E.S.T.
Andrew Shafer
Ranch Hand

Joined: Jan 19, 2001
Posts: 338

8080 is the default for tomcat, not apache.
http://localhost should work for apache.
I think 80 is the default for apache.

I agree. Here's the link:
subject: Apache web server
It's not a secret anymore!