<div>NetNameResolver localHostName. &#39;0.0.0.0&#39;</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&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; 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&lt;POINTOPOINT,MULTICAST&gt; mtu 1280</div>
<div>stf0: flags=0&lt;&gt; mtu 1280</div><div>en1: flags=8823&lt;UP,BROADCAST,SMART,SIMPLEX,MULTICAST&gt; 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: &lt;unknown subtype&gt; (&lt;unknown type&gt;)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: inactive</div><div>en0: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex,flow-control&gt;)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>status: active</div><div>fw0: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: inactive</div><div>vnic0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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; ">&#39;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; ">&#39;.</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. &#39;<a href="http://prcowifi-67-22-168-209.etv.net">prcowifi-67-22-168-209.etv.net</a>&#39;</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&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; 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&lt;POINTOPOINT,MULTICAST&gt; mtu 1280</div>
<div>stf0: flags=0&lt;&gt; mtu 1280</div><div>en1: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; 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: &lt;unknown subtype&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>status: active</div><div>en0: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; 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&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>status: inactive</div><div>vnic0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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&#39;m not really sure what you mean by class-B address.  It&#39;s on an RFC1918 (i.e. private) address when I&#39;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&#39;m on the <a href="http://67.22.168.0/24">67.22.168.0/24</a> subnet, it&#39;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&#39;m on the private network.  I&#39;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">&lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt;</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 &lt;<a href="mailto:efinley.lists@gmail.com">efinley.lists@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;      I just started playing with Magma, so it may be just me not knowing how<br>
&gt; to use it.  I have a server running in image A on my machine.  In image B on<br>
&gt; the same machine I have the following in a workspace:<br>
&gt; mySession :=<br>
&gt; (MagmaRemoteLocation<br>
&gt; host: &#39;10.215.90.59&#39;<br>
&gt; port: 51001) newSession.<br>
&gt; mySession connectAs: &#39;elliot&#39;.<br>
&gt; myRoot := mySession root.<br>
&gt; If I use &#39;127.0.0.1&#39; or &#39;localhost&#39; as the host, then I get a timeout error<br>
&gt; when calling mySession&gt;&gt;connectAs:<br>
&gt; It says &#39;ConnectionTimedOut: Cannot connect to <a href="http://10.215.90.74:51001" target="_blank">10.215.90.74:51001</a>&#39;<br>
&gt; (10.215.90.74 is an address that I&#39;ve had at one time).  If I specifically<br>
&gt; use &#39;10.215.90.59&#39; as the host, then connectAs: works as normal, but then<br>
&gt; the following statement &#39;myRoot := mySession root.&#39; fails with the<br>
&gt; &#39;ConnectionTimedOut: Cannot connect to <a href="http://10.215.90.74:51001" target="_blank">10.215.90.74:51001</a>&#39; error.<br>
&gt; Has anyone seen this before?  What am I doing wrong?<br>
&gt; Thanks in advance,<br>
&gt; Elliot<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Magma mailing list<br>
&gt; <a href="mailto:Magma@lists.squeakfoundation.org">Magma@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/magma" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/magma</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>