Linking Insoshi on remote server

2 views
Skip to first unread message

Ivan

unread,
Sep 24, 2009, 3:21:02 PM9/24/09
to Insoshi
Hi there, I'm having trouble with an Insoshi installation on a remote
server.

The server isn't mine, so I can't access http://localhost:3000, i have
to set up a symlink to get the server to read it, but I can't seem to
figure out where or what i need to link to, or what i need to change
to adapt this to work on my server.

I'm really new at this, any help you can give me or point me to would
be invaluable, thank you.

arumugam settu

unread,
Sep 25, 2009, 5:44:30 AM9/25/09
to ins...@googlegroups.com
Hi,

in windows 'host' file localhost is assigned to 127.0.0.1. so the url http://localhost:3000 reaches the app running in local.

suppose 45.0.0.1 is the ip address of the remote server, use the url http://45.0.0.1:3000

cheers
Settu

Ivan

unread,
Sep 25, 2009, 1:05:51 PM9/25/09
to Insoshi
Thanks for the response!

Hmm, I dont see a host file in the insoshi directory (I am aware of
the windows hosts file), but its running on a linux server and I don't
have access to change the equivalent of the hosts file on the shared
server, is there nowhere in the code where i could specify?

Ivan


On Sep 25, 3:44 am, arumugam settu <arumugase...@gmail.com> wrote:
> Hi,
> in windows 'host' file localhost is assigned to 127.0.0.1. so the urlhttp://localhost:3000reaches the app running in local.
>
> suppose 45.0.0.1 is the ip address of the remote server, use the url http://
> 45.0.0.1:3000 <http://localhost:3000>
>
> cheers
> Settu
>
> On Fri, Sep 25, 2009 at 12:51 AM, Ivan <ivanma...@gmail.com> wrote:
>
> > Hi there, I'm having trouble with an Insoshi installation on a remote
> > server.
>
> > The server isn't mine, so I can't accesshttp://localhost:3000, i have

Ivan

unread,
Sep 25, 2009, 1:26:24 PM9/25/09
to Insoshi
Maybe this can help:

=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.1.1 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** [NewRelic] New Relic RPM Agent Initialized: pid = 27358
** [NewRelic] Agent Log is found in /home/ttc/oscurrency/log/
newrelic_agent.3000.log
** [NewRelic] NewRelic Agent (Developer Mode) enabled.
** [NewRelic] To view performance information, go to http://localhost:3000/newrelic
DEPRECATION WARNING: Dependencies is deprecated! Use
ActiveSupport::Dependencies instead. See http://www.rubyonrails.org/deprecation
for details. (called from evaluate_init_rb at /home/ttc/oscurrency/
vendor/plugins/newrelic_rpm/init.rb:64)
DEPRECATION WARNING: Dependencies is deprecated! Use
ActiveSupport::Dependencies instead. See http://www.rubyonrails.org/deprecation
for details. (called from evaluate_init_rb at /home/ttc/oscurrency/
vendor/plugins/newrelic_rpm/init.rb:65)
SQL (0.000115) SET SQL_AUTO_IS_NULL=0
** ultrasphinx: configuration file not found for "development"
environment
** ultrasphinx: please run 'rake ultrasphinx:configure'
** ultrasphinx: spelling support not available (raspell configuration
raised "uninitialized constant Ultrasphinx::Spell::Aspell")
Preference Load (0.029322) SELECT * FROM `preferences` LIMIT 1
Analyzing Preference Load
select_type | key_len | table | id | possible_keys | type |
Extra | rows | ref | key

------------------------------------------------------------------------------------------
SIMPLE | | preferences | 1 | | ALL
| | 2 | |

Preference Columns (0.001421) SHOW FIELDS FROM `preferences`
Preference Load (0.002729) SELECT * FROM `preferences` LIMIT 1
Analyzing Preference Load
select_type | key_len | table | id | possible_keys | type |
Extra | rows | ref | key

------------------------------------------------------------------------------------------
SIMPLE | | preferences | 1 | | ALL
| | 2 | |

Message Columns (0.030097) SHOW FIELDS FROM `communications`
Person Columns (0.001837) SHOW FIELDS FROM `people`
AllPerson Columns (0.001944) SHOW FIELDS FROM `people`
Group Columns (0.001213) SHOW FIELDS FROM `groups`
ForumPost Columns (0.011339) SHOW FIELDS FROM `posts`
Topic Columns (0.002063) SHOW FIELDS FROM `topics`
Req Columns (0.011083) SHOW FIELDS FROM `reqs`
Category Columns (0.008825) SHOW FIELDS FROM `categories`
** Rails loaded.
** Loading any Rails specific GemPlugins
ActiveScaffold: extending RESTful routes for people
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It
might not work well.
** Mongrel 1.1.5 available at 0.0.0.0:3000
** Use CTRL-C to stop.





On Sep 25, 11:05 am, Ivan <ivanma...@gmail.com> wrote:
> Thanks for the response!
>
> Hmm, I dont see a host file in the insoshi directory  (I am aware of
> the windows hosts file), but its running on a linux server and I don't
> have access to change the equivalent of the hosts file on the shared
> server, is there nowhere in the code where i could specify?
>
> Ivan
>
> On Sep 25, 3:44 am, arumugam settu <arumugase...@gmail.com> wrote:
>
> > Hi,
> > in windows 'host' file localhost is assigned to 127.0.0.1. so the urlhttp://localhost:3000reachesthe app running in local.

Ivan

unread,
Sep 25, 2009, 2:30:18 PM9/25/09
to Insoshi
> Thanks for the response!
>
> Hmm, I dont see a host file in the insoshi directory  (I am aware of
> the windows hosts file), but its running on a linux server and I don't
> have access to change the equivalent of the hosts file on the shared
> server, is there nowhere in the code where i could specify?
>
> Ivan
>
> On Sep 25, 3:44 am, arumugam settu <arumugase...@gmail.com> wrote:
>
> > Hi,
> > in windows 'host' file localhost is assigned to 127.0.0.1. so the urlhttp://localhost:3000reachesthe app running in local.
Reply all
Reply to author
Forward
0 new messages