Article View: borland.public.jbuilder.java.api
Article #2307socket failure - please help
From: Steve Cannon
Date: Wed, 28 Mar 2001 17:06
Date: Wed, 28 Mar 2001 17:06
9 lines
1108 bytes
1108 bytes
Can someone please tell me why this is failing the a ConnetException:
Connection refused. ?
It happens on Windows 2000 and Windows NT 4.0 machines on my home intranet.
InetAddress localHostAddr = InetAddress.getLocalHost();
Socket aSocket = new Socket( localHostAddr, 1001);
Thanks.
Technical Details
Message-ID:
<3ac219f5_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!199.60.229.5!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!66.68.177.94Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,e3e89319276a1cda,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-03-28 09:30:20 PST From: "Steve Cannon" <scannon@austin.rr.com> Newsgroups: borland.public.jbuilder.java.api Subject: socket failure - please help Date: Wed, 28 Mar 2001 11:06:22 -0600 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 66.68.177.94 Message-ID: <3ac219f5_2@dnews> X-Trace: 28 Mar 2001 09:05:57 -0800, 66.68.177.94 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!199.60.229.5!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!66.68.177.94