<div class="gmail_quote">On Sat, Jan 23, 2010 at 4:51 PM, Simon Jagoe <span dir="ltr">&lt;<a href="mailto:azriphale@gmail.com">azriphale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 23 January 2010 18:20, J. Cameron Cooper &lt;<a href="mailto:jccooper@gmail.com">jccooper@gmail.com</a>&gt; wrote:<br>
</div><div class="im">&gt; I&#39;m trying to get Grok running on a remote server (an Amazon EC2 one). Now,<br>
&gt; a Zope 2 one I would expect that once it&#39;s up on 8080 I&#39;d be able to get<br>
&gt; there with the public IP:8080, but I&#39;m not able to do this with my new Grok<br>
&gt; instance. I know it&#39;s not the firewalling, since I can get another server<br>
&gt; running on 8080 and see it fine, but with Grok running (with Paster) on<br>
&gt; 8080, I get the connection refused from the public IP. I know it&#39;s running,<br>
&gt; since I can load it with lynx from the server (as <a href="http://127.0.0.1:8080" target="_blank">127.0.0.1:8080</a>).<br>
&gt; I notice that when strating it claims that:<br>
&gt; Starting server in PID XXXX.<br>
&gt; serving on <a href="http://127.0.0.1:8080" target="_blank">127.0.0.1:8080</a><br>
&gt; Is it only going to allow connections to this specific name that it&#39;s<br>
&gt; serving?<br>
<br>
</div><div><div></div><div class="h5">Exactly, it is only accepting connections to localhost (i.e.<br>
127.0.0.1). If you are using the paster server, you can change this by<br>
editing /path/to/project/etc/<a href="http://deploy.ini.in" target="_blank">deploy.ini.in</a> and look for the section<br>
like this:<br>
<br>
[server:main]<br>
use = egg:Paste#http<br>
host = 127.0.0.1<br>
port = 8080<br>
<br>
Change the host line to contain 0.0.0.0 to bind to all addresses<br>
available, then re-run ./bin/buildout.<br></div></div></blockquote><div><br>Brilliant, thanks. Works great.<br><br>Is this in the docs anywhere? I didn&#39;t see it, and I looked pretty well--I think. And it&#39;s a bit of an important point.<br>
</div></div><br>                --jcc<br><br>--<br>Maybe someday my email address will move back to <a href="http://jcameroncooper.com">jcameroncooper.com</a>. Stay with this one until further notice.<br>