• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem with localhost

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am trying out my first servlet program on jsdk2.1.
After I start JSDK2.1 server ,I tried to execute servlet by
typing http://localhost:8080 on Internet explorer 5.0
The error message I am getting for this is,

While trying to retrieve the URL: http://localhost:8080/
The following error was encountered:
ERROR 207 -- Cannot access the proxy-cache server through the URL that you entered.
This means that:
You may not use this proxy to connect to that url.
I went through similar questions posed by others,but I could not solve it.
So anyone of you,please help
Regards
chandrika

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Chandrika,
If that's the problem try setting the path and classpath system variables.
I assume JSDK2.1 directory on C drive
path=%path%;C:\JSDK2.1\bin;.;
classpath=%classpath%;C:\JSDK2.1\lib;.;
and after setting the these variables run 'servletrunner' utility from your dos prompt or from windows explorer. Then try to run your servlet class file.
Your class file should be in c:\jsdk2.1\examples OK
I hope this would solve your problem
-Abdul
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmmmmmm.......
I would first goto the Preferences, Advanced Options,
Proxy and check if the Proxy server is enabled.
If enabled, I would disable it using the option "Connect
directly to the Inernet
"
I don't mean to say that we cannot connect
to the localhost when proxies are on. I know
we can, I do use a proxy server.
$0.02.....
regds.
- satya

[This message has been edited by Madhav Lakkapragada (edited January 30, 2001).]
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Madhav Lakkapragada:
hmmmmmm.......
I would first goto the Preferences, Advanced Options,
Proxy and check if the Proxy server is enabled.
If enabled, I would disable it using the option "Connect
directly to the Inernet
"
I don't mean to say that we cannot connect
to the localhost when proxies are on. I know
we can, I do use a proxy server.
$0.02.....
regds.
- satya

[This message has been edited by Madhav Lakkapragada (edited January 30, 2001).]


Hi Madhav,
I agree with you, but why should we disable the proxy connection, instead we can turn on
Bypass a proxy server for local address
option.
You can find it in tools->options->connection->lansettings.
Bye.
Loke.
 
lokesh reddy
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Madhav,
I agree with you, but why should we disable the proxy connection, instead we can turn on
Bypass a proxy server for local address
option.
You can find it in tools->options->connection->lansettings.
Bye.
Loke.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
instead we can turn on
Bypass a proxy server for local address
option.You can find it in tools->options->connection->lansettings
.
Lokesh:
How could you run java appln's on IE when Microsoft
wants to stop Java support for its web browser...

regds.
- satya
 
He's giving us the slip! Quick! Grab this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic