Using SunOneStuio with iWS6.0
Hi
I have installed Sun One Studio 3.0 with iws6.0.
I am trying to run the CDShop tutorial.
I can compile the file ProductList.jsp successfully
but when I run it i am getting following errors
Connection failure
The browser could not connect to URL http://localhost:89/ProductList.jsp.
the url in the browser is :
dnt0017:8082/servlet/org.netbeans.modules.web.core.ConnectionFailureServlet?url =http%3A%2F%2Flocalhost%3A89%2FProductList.jsp
can anybody throw some light on what is happening ?
Tanks
Swap
[585 byte] By [
706462] at [2007-11-25 8:23:57]

Hi M,
Thanks a lot for replying.
I tried http://127.0.0.1:89/ProductList.jsp
but with no luck :-(
My questions are :
(1) From where SunOneStudio is taking "localhost" ?
(2) From where is the SunOneStudio taking the URL that it shown in the browser ( The URL that I have mentioned in my previous posting.)
(3) Is there a setting somewhere where we can specify ?
The only way it is working is by giving explicitly the ip address of my machine. But every time I execute from the studio, it opens a page with error and I am changing the URL.
Does this have some solution ?
Thanks
Swap
Hi Tom,
Thanks a lot for replying.
I am using windows 2000.
What I have ensured on my m/c is that, in the
"C:\WINNT\system32\drivers\etc\Hosts" file has an entry
127.0.0.1 localhost. But the machine is not
recognizing that.
Which setting do I need to do ?
Thanks
Swap
Are you able to ping localhost?
or ping 127.0.0.1?
If so then, you have it set up correctly. if not, there's
probably something more that needs to be set up
in windows 2000.
I don't have all the answers on this one. but you
can at least isolate whether the OS is set up
correctly or if it's iWS6.0.
-tom