# Noob - port 3000 in URL's - get rid of it?

**URL:** <https://www.ruby-forum.com/t/noob-port-3000-in-urls-get-rid-of-it/53059>\
**Category:** Rails\
**Created:** [January 24, 2006, 9:21am UTC](https://www.ruby-forum.com/t/noob-port-3000-in-urls-get-rid-of-it/53059 "2006-01-24T09:21:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffpritchard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Post date:** [January 24, 2006, 9:21am UTC](https://www.ruby-forum.com/t/noob-port-3000-in-urls-get-rid-of-it/53059/1 "2006-01-24T09:21:58Z")

</div>

Hi, total Noob here.

I have a rails server set up and running. I’m working my way through  
the “agile” book.

I see that all of the examples show URL’s that explicitly call for port  
3000. How would one go about creating a ruby app that is engaged with a  
“normal” URL with no port number in it?

That is apparently the default port for webrick to start up on when you  
use the command:  
ruby script/server

So how would I hook one of the “agile” examples up to run from Apache?  
Do I have to give it a port number? Or is it possible to set up my  
apache server such that it “knows” about RoR?

thanks,  
jp

---

<div class="post-metadata">

**Author:** ![jeffpritchard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Post date:** [January 24, 2006, 9:29am UTC](https://www.ruby-forum.com/t/noob-port-3000-in-urls-get-rid-of-it/53059/2 "2006-01-24T09:29:27Z")

</div>

[http://wiki.rubyonrails.org/rails/pages/HowtoSetupApacheWithFastCGIAndRubyBi](http://wiki.rubyonrails.org/rails/pages/HowtoSetupApacheWithFastCGIAndRubyBi)  
ndings

Cheers,

Bob S.

---

<div class="post-metadata">

**Author:** ![jeffpritchard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Post date:** [January 24, 2006, 5:14pm UTC](https://www.ruby-forum.com/t/noob-port-3000-in-urls-get-rid-of-it/53059/3 "2006-01-24T17:14:51Z")

</div>

Bob S. wrote:

> [http://wiki.rubyonrails.org/rails/pages/HowtoSetupApacheWithFastCGIAndRubyBi](http://wiki.rubyonrails.org/rails/pages/HowtoSetupApacheWithFastCGIAndRubyBi)  
> ndings
> 
> Cheers,
> 
> Bob S.

Thanks Bob!

jp
