redmine 监听端口3000的修改

redmine 监听端口3000的修改

修改E:\InstantRails-2.0-win\rails_apps\redmine-0.8.5\vendor\rails\railties\lib\commands\servers\webrick.rb文件

require 'webrick'
require 'optparse'
require 'commands/servers/base'

OPTIONS = {
  :port         => 3000,
  :ip           => "0.0.0.0",
  :environment  => (ENV['RAILS_ENV'] || "development").dup,
  :server_root  => File.expand_path(RAILS_ROOT + "/public/"),
  :server_type  => WEBrick::SimpleServer,
  :charset      => "UTF-8",
  :mime_types   => WEBrick::HTTPUtils::DefaultMimeTypes,
  :debugger     => false
 
}

重启服务即可

你可能感兴趣的:(redmine 监听端口3000的修改)