The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:[Host]: cannot access ... [myhost]:[myport]

Posted by Jan on November 20, 2000 at 12:52 PM

i want to connect to a server from an applet. running in console it works but due running it as applet (in Micro$ Apllet Viewer and IE4.5) on

this.sock = new Socket(this.iadd, 10000);

I get an exeption ([Host]: cannot access ... [myhost]:[myport])
my browser security settings are okay and I can use other java chats - what do I do wrong? Please help, help the newbie!:)


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us