# Diagnose problem

**URL:** <https://www.ruby-forum.com/t/diagnose-problem/126639>\
**Category:** Rails\
**Created:** [January 20, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/diagnose-problem/126639 "2008-01-20T21:39:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnt519](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cab0a1/32.png) [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Post date:** [January 20, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/diagnose-problem/126639/1 "2008-01-20T21:39:01Z")

</div>

I’ve just spent the last 2 days setting up a new Rails website. very  
basic.  
It connects to a MySql database and displays the rows of a table.

I’ve got it to the point where if I connect to the site from my browser,  
it will display, but if i look at it through a friends computer OR use a  
cloaked/anonymous browser, it won’t display.

I’m not sure what it is. Anyone?

1. So it might be something to do with my MySQL security? If so what?
2. Are there other security measures I don’t know about that are  
connected to my ip.
3. I read references to Access Hosts. What are they? Are they my  
problem?

I’m new to all this online security. It makes things more difficult.

I’ll take any theory!

---

<div class="post-metadata">

**Author:** ![johnt519](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cab0a1/32.png) [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Post date:** [January 20, 2008, 11:55pm UTC](https://www.ruby-forum.com/t/diagnose-problem/126639/2 "2008-01-20T23:55:40Z")

</div>

After typing script/server OR mongrel\_rails start specify the -b  
0.0.0.0option. This binds it to all interfaces instead of localhost  
which it is  
doing by default.

On Jan 21, 2008 8:34 AM, John T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> views.  
> But when viewed from someone else, it doesn’t view.
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Ryan B.

> **[frozenplague.net](http://www.frozenplague.net)**
>
> This domain may be for sale!

Feel free to add me to MSN and/or GTalk as this email.

---

<div class="post-metadata">

**Author:** ![johnt519](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cab0a1/32.png) [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Post date:** [January 20, 2008, 11:04pm UTC](https://www.ruby-forum.com/t/diagnose-problem/126639/3 "2008-01-20T23:04:06Z")

</div>

kopf1988 wrote:

> Do you have it setup on your personal computer, or a webhost  
> somewhere?
> 
> On Jan 20, 2:39 pm, John T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

I have it setup on a webhost.

If I view the webhost remotely from my computer and my computer only, it  
views.  
But when viewed from someone else, it doesn’t view.

---

<div class="post-metadata">

**Author:** ![johnt519](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cab0a1/32.png) [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Post date:** [January 20, 2008, 10:48pm UTC](https://www.ruby-forum.com/t/diagnose-problem/126639/4 "2008-01-20T22:48:45Z")

</div>

Do you have it setup on your personal computer, or a webhost  
somewhere?

On Jan 20, 2:39 pm, John T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![johnt519](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cab0a1/32.png) [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Post date:** [January 21, 2008, 12:25am UTC](https://www.ruby-forum.com/t/diagnose-problem/126639/5 "2008-01-21T00:25:33Z")

</div>

This response confused me greatly.

I used to run mongrel when I was developing and my PC was the host, but  
now I’ve moved all the source onto the server and am executing it  
remotely. So why would I run Mongrel on the server?

I looked at the production.log and this is what it gives no help. It  
says everything was successful even when nothing appears onscreen.

Ryan B. wrote:

> After typing script/server OR mongrel\_rails start specify the -b  
> 0.0.0.0option. This binds it to all interfaces instead of localhost  
> which it is  
> doing by default.
> 
> On Jan 21, 2008 8:34 AM, John T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > views.  
> > But when viewed from someone else, it doesn’t view.
> > 
> > –  
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> > 
> > >
> 
> –  
> Ryan B.  
> [http://www.frozenplague.net](http://www.frozenplague.net)  
> Feel free to add me to MSN and/or GTalk as this email.

---

<div class="post-metadata">

**Author:** ![johnt519](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cab0a1/32.png) [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Post date:** [January 21, 2008, 12:51am UTC](https://www.ruby-forum.com/t/diagnose-problem/126639/6 "2008-01-21T00:51:52Z")

</div>

My apologies, I didn’t realise yuo were running it through something  
else.

On Jan 21, 2008 9:55 AM, John T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > –  
> > Ryan B.  
> > [http://www.frozenplague.net](http://www.frozenplague.net)  
> > Feel free to add me to MSN and/or GTalk as this email.
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Ryan B.

> **[frozenplague.net](http://www.frozenplague.net)**
>
> This domain may be for sale!

Feel free to add me to MSN and/or GTalk as this email.
