class Rails::Command::ServerCommand

def host

def host
  if options[:binding]
    options[:binding]
  else
    default_host = environment == "development" ? "localhost" : "0.0.0.0"
    ENV.fetch("BINDING", default_host)
  end
end