=> pkey) Starting a proxy server WEBrick can also proxy GET, HEAD and POST requests: # Instantiating a proxy server is similar, except that it is handled by HTTPProxyServer servlet require 'webrick/httpproxy' proxy = WEBrick::HTTPProxyServer.new :Port => 1234 # Providing the hook out from the current thread trap 'INT' do proxy.shutdown end Limitations Unlike most of the servers that are used in production, WEBrick is not scalable since it is a single threaded web server by default. Hence, multiple requests at the same time cannot be handled and the subsequent requests would have to wait till all the previous requests have been handled, incurring a large delay. Hence, developers prefer other multi-threaded full-fledged web servers like Lighttpd and Mongrel for deploying their Rails applications. See also Mongrel (web server) Apache nginx Lighttpd References External links Gnome's Guide to WEBrick Ruby Standard Library doc - WEBrick WEBrick High Performance Free web server software Ruby (programming language) Web server software for Linux