Hi Robert, this is your problem, not so bad:
- your browser is configured to use a proxy
- it sends the request "http://localhost:9090/.." to the proxy machine.
- from the proxy's position, "localhost" means 127.0.0.1 wich is
the machine where the proxy-server itself runs, NOT your
sation's localhost where I suppose you run both servlet-runner and
the browser.
--------------------------
Solutions:
- disable proxyes in your browser while you are using locally JSDK.
or
- use your station's real addres or IP, instead of "localhost".
This way the proxy will forward the request back to you.
or
- use Netscape's advanced proxy config to disable proxy requests
for "localhost:9090" so it will not use the proxy to access your
servlet engine.
Be also aware of a previous message that told you should use
"... :9090/servlet/ ... "
instead of
"... :9090/examples/ ..."
Good luck!
Cezar
On Thu, 11 Mar 1999, Robert Silverman wrote:
> I just downloaded JSDK20 from sun, yesterday.
> This is on PC/winNT.
> I installed JSDK.
> I cd to <jsdkhome>
> jsdkhome>servletrunner -p 9090 -r .
> The servletrunner starts and reports that document dir = .
>
> I start Navigator (4.04).
> I specify location: http://localhost:9090/examples/SimpleServlet
>
> I get:
> Error
> The requested item could not be loaded by the proxy.
> Netscape Proxy's network connection was refused by the server:
> localhost:9090 The server may not be
> accepting connections or may be busy. Try connecting again later.
>
> Question:
> Is there something need to be set in the navigator preferences that I am
>
> missing ?
> Right now I have HTTP proxy set to manual to our proxy.
>
> If I change the preferences to no proxy, direct connect to internet.
> I get the error:
> 403 Forbidden
> Will not serve files, only servlets
>
>
> -thanks in advance
> Robert S.
>
>
>
>
> --
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +
> + Robert Silverman
> + Sr. MTS
> + Software Architecture and Java Development
> + TIBCO Software
> + 3165 Porter Dr.
> + Palo Alto, CA 94304
> + Tel: (650) 846 5516
> + email: [EMAIL PROTECTED]
> +
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
Cezar Totth email: [EMAIL PROTECTED]
Fax: (401) 220 33 95
Genesys Software Romania Phone: (401) 638 49 44
Stefan Furtuna 169, sect.6
cod 77171, Bucharest
Romania
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html