This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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.

subject: Apache web server
It's not a secret anymore!