Article View: comp.lang.java.security
Article #23Re: java.rmi.ConnectException: Connection refused to host: 127.0.0.1;
From: Chris Smith
Date: Tue, 10 Jul 2001 16:35
Date: Tue, 10 Jul 2001 16:35
21 lines
1969 bytes
1969 bytes
"anthony neveu" <neveua@ifrance.com> wrote ... > I have an error when i want to connect my client to my server. > > Client (win2000) -> server (linux) -> ko > client (linux) -> server (win2000) -> ok > client (linux) -> server (linux) -> ok > client (win2000) -> server (win2000) -> ok > > > Exception occured: java.rmi.ConnectException: Connection refused to host: > 127.0.0.1; nested exception is: > java.net.ConnectException: Connection refused: no further information If you're trying to connect from win2000 to linux here, as your message seems to indicate, then something is going wrong. 127.0.0.1 is localhost, and the same NIC can't be running under both win2000 and linux. :) If you don't understand where the 127.0.0.1 is coming from, then post the connection code, and we'll see. Chris Smith
Technical Details
Message-ID:
<9ifb0r$ijj$0@pita.alt.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!news.alt.net!usenetReferences:
<9if9io$n22$1@s1.read.news.oleane.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8f80,eb9ebed8fc87336c X-Google-Attributes: gidf8f80,public X-Google-Thread: f74b3,eb9ebed8fc87336c X-Google-Attributes: gidf74b3,public X-Google-Thread: 115d3b,eb9ebed8fc87336c X-Google-Attributes: gid115d3b,public X-Google-Thread: 10a146,eb9ebed8fc87336c X-Google-Attributes: gid10a146,public X-Google-ArrivalTime: 2001-07-10 09:37:48 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!news.alt.net!usenet From: "Chris Smith" <cdsmith@twu.net> Newsgroups: comp.lang.java.security,borland.public.jbuilder.java.language,comp.lang.java.programmer,ibm.software.java.linux Subject: Re: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; Date: Tue, 10 Jul 2001 10:35:26 -0600 Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 24 Message-ID: <9ifb0r$ijj$0@pita.alt.net> References: <9if9io$n22$1@s1.read.news.oleane.net> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200