Article View: borland.public.jbuilder.java.api
Article #978Re: need advice on Socket class
From: Alan Shiers
Date: Sat, 29 Jun 2002 22:40
Date: Sat, 29 Jun 2002 22:40
37 lines
2520 bytes
2520 bytes
I think I'll take my client program to some other computer and try it outside of the LAN and see what happens there. The thing is, I can use my Netscape browser to type in http://www.mss-webdesign.ca and have no problem seeing my web site. Mind you, the only difference is that the router is channelling the requests on port 80. Whereas my server-side app and client-side app are set for port 5000. That shouldn't make any difference, should it? Alan "John McGrath [TeamB]" wrote: > > On Sat, 29 Jun 2002 15:35:13 -0400, Alan Shiers wrote: > > > I forgot to mention something else I tried. Since the IP > > on the router is 24.222.101.2, I decided to try passing > > this as the InetAddress parameter for Socket. Even this > > doesn't work. But 192.168.0.196 sure does. > > > > I'm confused as to why one IP works when the other doesn't. > > I mean, the router is set up to re-route IP requests to the > > server with the IP 192.168.0.196. So if I pass 24.222.101.2 > > to the Socket constructor it should work too, shouldn't it? > > It sounds to me like the problem is with the routing and not > with the Java program. > > -- > Regards, > > John McGrath [TeamB] > > --------------------------------------------------- > Before sending me e-mail, please read: > http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<3D1E3744.4F94DE65@hfx.eastlink.ca>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!fr.usenet-edu.net!usenet-edu.net!proxad.net!gatel-ffm!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3D1DC5BD.D42C0685@hfx.eastlink.ca> <MPG.1787a1ffb01ea2b98b778@newsgroups.borland.com> <3D1E0BF1.33644B9C@hfx.eastlink.ca> <MPG.1787db75e9bd792c98b779@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,ca7b36f31cbe071c X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-06-29 14:39:47 PST Message-ID: <3D1E3744.4F94DE65@hfx.eastlink.ca> Date: Sat, 29 Jun 2002 18:40:04 -0400 From: Alan Shiers <ashiers@hfx.eastlink.ca> Organization: Mustard Seed Software X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: need advice on Socket class References: <3D1DC5BD.D42C0685@hfx.eastlink.ca> <MPG.1787a1ffb01ea2b98b778@newsgroups.borland.com> <3D1E0BF1.33644B9C@hfx.eastlink.ca> <MPG.1787db75e9bd792c98b779@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.222.101.2 X-Trace: dnews 1025386679 24.222.101.2 (29 Jun 2002 14:37:59 -0700) Lines: 37 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!bnewspeer00.bru.ops.eu.uu.net!emea.uu.net!fr.usenet-edu.net!usenet-edu.net!proxad.net!gatel-ffm!newsfeed01.sul.t-online.de!t-online.de!dnews