Stuart Woolford wrote:
>Both client and server are being run from the source folder. I start
>the rmiregistry on the default port from the source folder also. As I
>said it appears to be working on the windows boxes at school, but the
>mac just doesn't want a bar of it. The only other difference is at
>school there's a very fast connection, and at home I'm on dial up,
>would this make a difference on the localhost?
If the target host address is 127.0.0.1, then dialup has no effect on
speed, because these connections always "loop back" before they ever get
out to the actual network connection.
Because the IP-address 127.0.0.1 *ALWAYS* refers to the local host, you
might want to try it instead of the name "localhost". Otherwise, success
may depend on how you have networking configured, in the Network pane of
System Preferences, including how your DNS lookup is set up.
If you're not dialed-in, you probably don't have a DNS server. Not having
DNS is one thing that can lead to timeout errors, because a name can't be
resolved to an IP-address. If you eliminate the dependence on name-lookup,
then it won't cause a problem.
A reverse-DNS lookup of 202.6.129.205 shows it resolving to the domain
ip.adam.com.au. You can see this yourself using Network Utility.app from
/Applications/Utilities. Click its Lookup tab, enter 202.6.129.205 into
the text box, and click Lookup. I have no idea what the network
configuration at ip.adam.com.au is, so I can't tell you if that's a dialup
line, a static IP address, or what. I can't even tell you if there's an
active host sitting at that address.
Without knowing how your school network or your Mac's dialup networking is
set up, it still seems to me that the most likely problem is a difference
in the network.
If you have student tech support for Mac OS X, ask them how to set up your
machine for use. It can be arranged so you don't need a dialup connection
active in order to use the localhost. Otherwise, try 127.0.0.1 instead of
"localhost". You should also be able to do some simple network testing by
turning on Personal Web Sharing, noting the address it tells you to use,
then opening that URL in Safari.
You can also test the network reachability of a host using the Ping tab of
Network Utility. Enter the address or name you want to test, then click
the Ping button. This works for 127.0.0.1 or "localhost" when I try it on
a machine I have here on a LAN with no DNS active.
One other possible obstacle might be the Mac OS X Firewall, though that
usually won't affect local loopback connections. The firewall is
configured in the Sharing pane of System Preferences, under the Firewall
tab.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden