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


Bradley Wong

Joined: Aug 10, 2001
Posts: 16
i cannot seem to run javawebserver2.0 in my new environment - running windows98 and ie5. i have it on my c: drive in c:\javawebserver2.0. and in dos, i went to the directory c:\javawebserver2.0\bin\httpd. but when i go to the browser and type http://localhost:8080/index.html, i get the following message:
"Browser Error - Your Browser sent a malformed request"
the same goes for any html file in the public_html directory of javawebserver2.0.
and when i type http://localhost:9090, i get the following:
"Socket error - Connection refused by Remote Host"
any ideas?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

when i type http://localhost:9090, i get the following...
try http://<machine_name>:9090 instead.
Also, check the port 8080 or 9090 ?
- satya
ps: you are better off switching to Tomcat instead.

Take a Minute, Donate an Hour, Change a Life
Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
In Java Security policy file, grant all rights to localhost. This might solve ur problem.
I agree. Here's the link:
subject: JavaWebserver2.0
It's not a secret anymore!