<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -108,6 +108,10 @@ module Sinatra
   def port
     application.options.port
   end
+
+  def host
+    application.options.host
+  end
   
   def env
     application.options.env
@@ -127,7 +131,7 @@ module Sinatra
     begin
       puts &quot;== Sinatra has taken the stage on port #{port} for #{env} with backup by #{server.name}&quot;
       require 'pp'
-      server.run(application, :Port =&gt; port) do |server|
+      server.run(application, {:Port =&gt; port, :Host =&gt; host}) do |server|
         trap(:INT) do
           server.stop
           puts &quot;\n== Sinatra has ended his set (crowd applauds)&quot;
@@ -896,6 +900,7 @@ module Sinatra
       @default_options = {
         :run =&gt; true,
         :port =&gt; 4567,
+        :host =&gt; '0.0.0.0',
         :env =&gt; :development,
         :root =&gt; root,
         :views =&gt; root + '/views',</diff>
      <filename>lib/sinatra.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ea3239c88f8a85f82cc891589bc6ad1c339719e8</id>
    </parent>
  </parents>
  <author>
    <name>Chris Schneider</name>
    <email>chris@christopher-schneider.com</email>
  </author>
  <url>http://github.com/adamwiggins/sinatra/commit/c705cfde8a9244c168b78d17e2a87e00aa01bf76</url>
  <id>c705cfde8a9244c168b78d17e2a87e00aa01bf76</id>
  <committed-date>2008-06-04T16:06:08-07:00</committed-date>
  <authored-date>2008-06-04T16:06:08-07:00</authored-date>
  <message>Add a host option to define the ip to bind to, defaults 0.0.0.0, which is code for 'all of them'</message>
  <tree>5e51803eccd69f0678cb52105744c8400df80b38</tree>
  <committer>
    <name>Chris Schneider</name>
    <email>chris@christopher-schneider.com</email>
  </committer>
</commit>
