views:

25

answers:

0

Hello, May I ask why does the links in my rails app uses our server's ip address and port instead of the domain name?

For example, javascript and stylesheet tags :

  <link href="http://xxx.xxx.xxx.xxx:12001/stylesheets/shared/tables.css?1282918370" media="screen" rel="stylesheet" type="text/css" /> 

I obscured the IP a bit but the port is the actual port where the rails app was run on..