Article View: borland.public.jbuilder.java.language
Article #16172Connection Refused for a SocketServer?
From: Jeff Rafter
Date: Tue, 23 Mar 1999 00:00
Date: Tue, 23 Mar 1999 00:00
16 lines
1458 bytes
1458 bytes
I am new to servers and sockets but have got the whole thing working. On a "localhost" that is. I have an Applet that creates a SocketServer and waits for clients to join. I have client Applets that join by creating Sockets to the opened port. This all works fine on a local host (i.e. stand-alone computer) or under a pier-to-pier Windows98 network. However when I try to put this on a webserver it doesn't work. If I try to create the SocketServer using an InetAddress that points to www.mywebsite.com it doesn't work. I get the message "Exception : could not open socket - connection rufused". I assume that I need to use my password and login or something to get through the web-site security or something. (?) I just don't know how -- do I need to use a SocketImpl or Factory (if so... what are they for and how does one use them <g>)? Thanks, Jeff Rafter Realsoft Development
Technical Details
Message-ID:
<7d9v2b$ma219@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,c496faf16a4e2a20,start X-Google-Attributes: gidf74b3,public From: "Jeff Rafter" <jeffrafter@earthlink.net> Subject: Connection Refused for a SocketServer? Date: 1999/03/23 Message-ID: <7d9v2b$ma219@forums.borland.com> X-Deja-AN: 458274995 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 Organization: Realsoft Development X-MSMail-Priority: Normal Reply-To: "Jeff Rafter" <jeffrafter@earthlink.net> Newsgroups: borland.public.jbuilder.java.language