On 04/08/2012 05:37 AM, CC Chen wrote:
Hi all,


I want to start my rails server by WEBrick.

How to set the WEBrick up for production? (not http://localhost:3000)

I want others can link to my web server.
If you want webrick to operate on another port for some reason use the -p option
script/server webrick -p portnumber (for ROR 2.x)
On Linux/Unix based systems low numbered ports will require you to run as root. Not a good option. If on Linux/Unix use apache2 or nginx + passenger instead of webrick. If on Windows you can use webrick or mongrel though I think mongrel is a better choice.




Thanks,


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to