# Best way to serve from 2 ports?

**URL:** <https://www.ruby-forum.com/t/best-way-to-serve-from-2-ports/124814>\
**Category:** Rails\
**Created:** [January 2, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/best-way-to-serve-from-2-ports/124814 "2008-01-02T20:57:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfrankov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/87869e/32.png) [@jfrankov](https://www.ruby-forum.com/u/jfrankov)\
**Post date:** [January 2, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/best-way-to-serve-from-2-ports/124814/1 "2008-01-02T20:57:56Z")

</div>

I’ve got two separate services running from the same RoR codebase- one  
mongrel on port 6000, one on 6010. Until now I’ve had two checkouts of  
the app, one for each mongrel, mostly to keep the logs separate, but  
this seems tacky.

If I run two separate mongrels in the same RoR app, will they make the  
logs a messy non-synchronous overlap of text? Or am I better off  
running a two-node mongrel cluster?

Thanks for any advice-  
-Jason
