By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,034 Members | 819 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,034 IT Pros & Developers. It's quick & easy.

Java Applet and IIS

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.