From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.25.143.3 with SMTP id r3csp1335800lfd; Thu, 3 Sep 2015 09:15:22 -0700 (PDT) X-Received: by 10.55.209.134 with SMTP id o6mr40119792qkl.100.1441296922313; Thu, 03 Sep 2015 09:15:22 -0700 (PDT) Return-Path: Received: from mail-qg0-x239.google.com (mail-qg0-x239.google.com. [2607:f8b0:400d:c04::239]) by mx.google.com with ESMTPS id j50si2564604qgj.105.2015.09.03.09.15.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2015 09:15:22 -0700 (PDT) Received-SPF: pass (google.com: domain of rack-devel+bncBCG7JUGB4MEBBF7EUGXQKGQEYNCK5FQ@googlegroups.com designates 2607:f8b0:400d:c04::239 as permitted sender) client-ip=2607:f8b0:400d:c04::239; Authentication-Results: mx.google.com; spf=pass (google.com: domain of rack-devel+bncBCG7JUGB4MEBBF7EUGXQKGQEYNCK5FQ@googlegroups.com designates 2607:f8b0:400d:c04::239 as permitted sender) smtp.mailfrom=rack-devel+bncBCG7JUGB4MEBBF7EUGXQKGQEYNCK5FQ@googlegroups.com; dkim=pass header.i=@googlegroups.com; dkim=pass header.i=@soasta.com Received: by mail-qg0-x239.google.com with SMTP id 47sf12091158qgt.1; Thu, 03 Sep 2015 09:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=Rht0diTZJoWGM3jC5JuW5NyP6DtV2iw//N8xxOqvd+4=; b=MHuhScZLo+j1gghZdJNGwc1MN9PPVfMCBaFG6ZLq/VZ62uSK2ja0sB6D+tjCPiV3SY j+RmVQh37efeoU41NXjOHjKqTrEctEcpI0wP3xX0UMLrrablm9Ahguw7q3xn8jcZ+tuC 0sZFU65z+nuzeW/XRzMNgq/lzoEzgwotkklAgTNPnZ4ZGt0+4jdcLKTlopJxsPb099/x ZKxvinEnjjSBucTealHf13nYEfzxR8lpBtqXncqWjybgUsQ9r6nWczH3vBsCMhAG1cGC OcNVSZuNMgGEdd9Q2mpDESX6VKlK2Q9v/Xe4HdDNRa3iqIhC7TufQJhOKZvgoqdBSmmI I1RQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soasta.com; s=google; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe; bh=Rht0diTZJoWGM3jC5JuW5NyP6DtV2iw//N8xxOqvd+4=; b=LswV1HQzKapbmTbCNE9N+gVrPVNeOEO0+kqG+Ci/VcFdl4M0wNBZVTuDuf3zsLcNGb /Y7L7YzDE17dlMxi1QdsGPnPv4Ky4upJlMjlVBnupQQ9jNOP9y3fKaSPj454SGcNhYOW 1ofv97JKcH47gSkLc5caRGQjLPVPofRUhpmRA= X-Received: by 10.50.110.34 with SMTP id hx2mr86511igb.0.1441296920244; Thu, 03 Sep 2015 09:15:20 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.107.3.74 with SMTP id 71ls623632iod.21.gmail; Thu, 03 Sep 2015 09:15:19 -0700 (PDT) X-Received: by 10.50.127.174 with SMTP id nh14mr87389igb.0.1441296918964; Thu, 03 Sep 2015 09:15:18 -0700 (PDT) Date: Thu, 3 Sep 2015 09:15:17 -0700 (PDT) From: jtindall@soasta.com To: Rack Development Message-Id: In-Reply-To: References: <0eb69538-c7db-41d9-9675-e4b59c06f2fd@googlegroups.com> <149F4AC5-795E-4051-AF33-6B6B0AF9D1CC@act1.net> Subject: Re: Allow network access to Sinatra server running on Rack? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_702_1121341167.1441296917969" X-Original-Sender: jtindall@soasta.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: rack-devel@googlegroups.com X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , ------=_Part_702_1121341167.1441296917969 Content-Type: multipart/alternative; boundary="----=_Part_703_453341105.1441296917969" ------=_Part_703_453341105.1441296917969 Content-Type: text/plain; charset=UTF-8 Aha - it was just a matter of setting the host to 0.0.0.0 in the command options like so :$ rackup --server thin --host 0.0.0.0 --port 4567 Still no idea how to access the options though :( On Thursday, September 3, 2015 at 5:11:42 PM UTC+1, jtin...@soasta.com wrote: > > Hi Steve, > > Thanks. I am passing in the port setting when starting rack from the > command line like so :$ rackup --server thin --host localhost --port 4567 > > I also pass in options via the --options flag but can't seem to find any > documentation on how to access these options anywhere! > > James > > On Thursday, September 3, 2015 at 2:09:35 PM UTC+1, Steve Fazekas wrote: >> >> James, >> >> I think I have that config set up for my own use and when I get into >> work later I'll send you what I have this afternoon. If you think >> everything is set correctly try setting a different port. >> >> Steve Fazekas >> sfaz...@act1.net act...@hotmail.com >> 614.989.9764 >> >> On Sep 2, 2015, at 1:07 PM, jtin...@soasta.com wrote: >> >> Hi all, >> >> Sinatra supports access over the network by setting the bind setting to >> '0.0.0.0' - I can't seem to find any docs on how this is achieved when >> running Sinatra via Rack::Cascade. Anyone have any Ideas?? >> >> Also, finding it hard to find docs on how to pass Rackup --options into >> the Sinatra app running in Rack::Cascade. >> >> Thanks - any help much appreciated! >> >> James >> >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Rack Development" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to rack-devel+...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> >> -- --- You received this message because you are subscribed to the Google Groups "Rack Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to rack-devel+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_703_453341105.1441296917969 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Aha - it was just a matter of setting the host to 0.0.0.0 = in the command options like so :$ rackup --server thin --host 0.0.0.0 --por= t 4567

Still no idea how to access the options though :(=

On Thursday, September 3, 2015 at 5:11:42 PM UTC+1, jtin...@soasta.= com wrote:
Hi = Steve,

Thanks. I am passing in the port setting when sta= rting rack from the command line like so :$ rackup --server thin --host loc= alhost --port 4567

I also pass in options via the = --options flag but can't seem to find any documentation on how to acces= s these options anywhere!

James

On Thursday= , September 3, 2015 at 2:09:35 PM UTC+1, Steve Fazekas wrote:
James,

I think I have that config set up for my =C2=A0own use and when I get= into work later I'll send you what I have this afternoon. =C2=A0If you= think everything is set correctly try setting a different port.=C2=A0
<= br>Steve Fazekas
614.989.9764

On= Sep 2, 2015, at 1:07 PM, jtin...@soasta.com wrote:=

Hi all,
<= br>
Sinatra supports access over the network by setting the bind = setting to '0.0.0.0' - I can't seem to find any docs on how thi= s is achieved when running Sinatra via Rack::Cascade. Anyone have any Ideas= ??

Also, finding it hard to find docs on how to pa= ss Rackup --options into the Sinatra app running in Rack::Cascade.

Thanks - any help much appreciated!

James


--

---
You received this message because you are subscribed to the Google Groups &= quot;Rack Development" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to rack-devel+...@googlegroups.com.
For more options, visit https://groups.google.com= /d/optout.

--

---
You received this message because you are subscribed to the Google Groups &= quot;Rack Development" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to rack-dev= el+unsubscribe@googlegroups.com.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_703_453341105.1441296917969-- ------=_Part_702_1121341167.1441296917969--