<div>NetNameResolver localHostName. '0.0.0.0'</div><div><br></div><div>NetNameResolver localHostAddress. #[0 0 0 0]</div><div><br></div><div>That corresponds to the following ifconfig output from my macbook pro:</div>
<div><br></div><div><div><div>the-macbook:~ efinley$ ifconfig</div><div>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>inet 127.0.0.1 netmask 0xff000000 </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>inet6 ::1 prefixlen 128 </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 </div><div>gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280</div>
<div>stf0: flags=0<> mtu 1280</div><div>en1: flags=8823<UP,BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>ether 60:33:4b:21:26:2b </div><div>
<span class="Apple-tab-span" style="white-space:pre">        </span>media: <unknown subtype> (<unknown type>)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: inactive</div><div>en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>ether c4:2c:03:34:53:bb </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>inet6 fe80::c62c:3ff:fe34:53bb%en0 prefixlen 64 scopeid 0x5 </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>inet 10.215.90.59 netmask 0xffffff00 broadcast 10.215.90.255</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>media: autoselect (100baseTX <full-duplex,flow-control>)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>status: active</div><div>fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>lladdr 60:33:4b:ff:fe:95:b0:b0 </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>media: autoselect <full-duplex></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: inactive</div><div>vnic0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>ether 00:1c:42:00:00:08 </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>inet 10.211.55.2 netmask 0xffffff00 broadcast 10.211.55.255</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>media: autoselect</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: active</div><div>vnic1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>ether 00:1c:42:00:00:09 </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>inet 10.37.129.2 netmask 0xffffff00 broadcast 10.37.129.255</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>media: autoselect</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: active</div></div></div><div><br></div><div>as you can see, my address is 10.215.90.59, but yet the error is <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">'ConnectionTimedOut: Cannot connect to </span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><a href="http://10.215.90.74:51001/" target="_blank" style="color: rgb(17, 65, 112); ">10.215.90.74:51001</a></span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">'.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">When I remove the wired connection on the <a href="http://10.215.90.0/24">10.215.90.0/24</a> network and turn on the wireless connection on the <a href="http://67.22.168.0/24">67.22.168.0/24</a> network, then the client connects to the server just fine, and I get the following output:</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
NetNameResolver localHostName. '<a href="http://prcowifi-67-22-168-209.etv.net">prcowifi-67-22-168-209.etv.net</a>'</div><div><br></div><div>NetNameResolver localHostAddress. #[67 22 168 209]</div><div><br></div>
<div><div>the-macbook:~ efinley$ ifconfig</div><div>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>inet 127.0.0.1 netmask 0xff000000 </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>inet6 ::1 prefixlen 128 </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 </div><div>gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280</div>
<div>stf0: flags=0<> mtu 1280</div><div>en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>ether 60:33:4b:21:26:2b </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>inet6 fe80::6233:4bff:fe21:262b%en1 prefixlen 64 scopeid 0x4 </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>inet 67.22.168.209 netmask 0xffffff00 broadcast 67.22.168.255</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>media: <unknown subtype></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: active</div><div>en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>ether c4:2c:03:34:53:bb </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>media: autoselect</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: inactive</div>
<div>fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>lladdr 60:33:4b:ff:fe:95:b0:b0 </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>media: autoselect <full-duplex></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>status: inactive</div><div>vnic0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>ether 00:1c:42:00:00:08 </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>inet 10.211.55.2 netmask 0xffffff00 broadcast 10.211.55.255</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>media: autoselect</div><div>
<span class="Apple-tab-span" style="white-space:pre">        </span>status: active</div><div>vnic1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>ether 00:1c:42:00:00:09 </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>inet 10.37.129.2 netmask 0xffffff00 broadcast 10.37.129.255</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>media: autoselect</div><div>
<span class="Apple-tab-span" style="white-space:pre">        </span>status: active</div></div><div><br></div><div>I'm not really sure what you mean by class-B address. It's on an RFC1918 (i.e. private) address when I'm on the <a href="http://10.215.90.0/24">10.215.90.0/24</a> network (A class-C subnet). And yes, just for testing, when I'm on the <a href="http://67.22.168.0/24">67.22.168.0/24</a> subnet, it's a publicly routable address.</div>
<div><br></div><div>It would be nice to be able to plug in some sort of encryption/authentication between the server and client. Until that happens though, we can always just use a SSH tunnel.</div><div><br></div><div>I appreciate you taking the time to look into this. It appears to be a problem with the answer from NetNameResolver when I'm on the private network. I'm not sure where to go from here though.</div>
</span></div><meta charset="utf-8"><br><div class="gmail_quote">On Thu, Sep 30, 2010 at 9:53 AM, Chris Muller <span dir="ltr"><<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Elliot, you have specified a class-B address?? Do you really have the<br>
Magma server running on the Net?<br>
<br>
Why do you want to use addresses instead of hostnames? What does<br>
<br>
NetNameResolver localHostName<br>
<br>
and<br>
<br>
NetNameResolver localHostAddress<br>
<br>
answer for you?<br>
<br>
- Chris<br>
<div><div></div><div class="h5"><br>
On Mon, Sep 27, 2010 at 6:09 PM, Elliot Finley <<a href="mailto:efinley.lists@gmail.com">efinley.lists@gmail.com</a>> wrote:<br>
> Hello,<br>
> I just started playing with Magma, so it may be just me not knowing how<br>
> to use it. I have a server running in image A on my machine. In image B on<br>
> the same machine I have the following in a workspace:<br>
> mySession :=<br>
> (MagmaRemoteLocation<br>
> host: '10.215.90.59'<br>
> port: 51001) newSession.<br>
> mySession connectAs: 'elliot'.<br>
> myRoot := mySession root.<br>
> If I use '127.0.0.1' or 'localhost' as the host, then I get a timeout error<br>
> when calling mySession>>connectAs:<br>
> It says 'ConnectionTimedOut: Cannot connect to <a href="http://10.215.90.74:51001" target="_blank">10.215.90.74:51001</a>'<br>
> (10.215.90.74 is an address that I've had at one time). If I specifically<br>
> use '10.215.90.59' as the host, then connectAs: works as normal, but then<br>
> the following statement 'myRoot := mySession root.' fails with the<br>
> 'ConnectionTimedOut: Cannot connect to <a href="http://10.215.90.74:51001" target="_blank">10.215.90.74:51001</a>' error.<br>
> Has anyone seen this before? What am I doing wrong?<br>
> Thanks in advance,<br>
> Elliot<br>
><br>
</div></div>> _______________________________________________<br>
> Magma mailing list<br>
> <a href="mailto:Magma@lists.squeakfoundation.org">Magma@lists.squeakfoundation.org</a><br>
> <a href="http://lists.squeakfoundation.org/mailman/listinfo/magma" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/magma</a><br>
><br>
><br>
</blockquote></div><br>