469,338 Members | 8,076 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,338 developers. It's quick & easy.

Java Applet and IIS

Hi,

I have created an applet code. The code is normally working fin
without IIS.
I have IIS 5.0 installed on my Windows 2000 Server. My web site hom
directory is "C:\Inetpub\wwwroot". I already coppied the files to th
correct folder. In the address box of Internet Explorer, I type
"http://localhost/myfile.html". myfile.html is to run my applet. Bu
when I go to the page I got the error message saying that "Connectio
refused: connect".

But, if I copy the code to my Windows XP pro machine with IIS 5.
installed, it works fine.

Note: Attached file is my applet code. Please delete the extentio
".txt".

Can anyone give me some idea or any dvise?
Your advise will be much appreciated.

Thanks,

Rod
+----------------------------------------------------------------
| Attachment filename: callsgraph.java.txt
|Download attachment: http://www.codecomments.com/attachme...?postid=799507
+----------------------------------------------------------------
-
rod
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------

Jul 17 '05 #1
1 4920
SPG
I have not downloaded your code, but..

Does your applet connect to another server? If so then it will not be able
to do so unless you digitally sign the applet or set your local security
properties file.

An applet can only make a connection to the server it came from.In many
instances this also means using exactly the same naming (IE: don't use
domain name in codebase and ip address in connection code.)

Steve

"roda" <ro*********@mail.codecomments.com> wrote in message
news:c1******************************@news.thenews groups.com...
Hi,

I have created an applet code. The code is normally working fine
without IIS.
I have IIS 5.0 installed on my Windows 2000 Server. My web site home
directory is "C:\Inetpub\wwwroot". I already coppied the files to the
correct folder. In the address box of Internet Explorer, I typed
"http://localhost/myfile.html". myfile.html is to run my applet. But
when I go to the page I got the error message saying that "Connection
refused: connect".

But, if I copy the code to my Windows XP pro machine with IIS 5.1
installed, it works fine.

Note: Attached file is my applet code. Please delete the extention
".txt".

Can anyone give me some idea or any dvise?
Your advise will be much appreciated.

Thanks,

Roda
+----------------------------------------------------------------+
| Attachment filename: callsgraph.java.txt |
|Download attachment: http://www.codecomments.com/attachme...?postid=799507 | +----------------------------------------------------------------+
--
roda
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by apchar | last post: by
reply views Thread by James Hong | last post: by
5 posts views Thread by Rowland | last post: by
1 post views Thread by polilop | last post: by
2 posts views Thread by Tim Murray | last post: by
2 posts views Thread by pssraju | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.