erogol 0 Newbie Poster

I try to develop a rails web search engine that aims to use carrot 2 clustering rest service that is also work on my computer. However to use these two I need to deploy both of them to same server. Do you know any hosting that makes available to run both at the same time or do you mind and plus solution. I am really stack on this issue. On local host they can work on different Ports however ha it possible to run them also on any Web hosting and communicate them with carrot two rest service... Please help..