# How to run my application in browser without web connecting

**URL:** <https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883>\
**Category:** Rails\
**Created:** [September 18, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883 "2007-09-18T15:36:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 18, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/1 "2007-09-18T15:36:43Z")

</div>

hello:  
I moved to a new place where i can not use internet.But i found i  
can not run my web app in my browser. For example,when i input  
"[http://localhost:3000/store/index](http://localhost:3000/store/index)"in the browser after running web  
server:ruby script/server webrick,i can not see the result like previous  
time when i can.If i want to run my web app in the browser, i must have  
internet surppot?  
Can you help me?  
Thank you!

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 18, 2007, 3:48pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/2 "2007-09-18T15:48:43Z")

</div>

Guo Y. wrote:

> hello:  
> I moved to a new place where i can not use internet.But i found i  
> can not run my web app in my browser. For example,when i input  
> "[http://localhost:3000/store/index](http://localhost:3000/store/index)"in the browser after running web  
> server:ruby script/server webrick,i can not see the result like previous  
> time when i can.If i want to run my web app in the browser, i must have  
> internet surppot?

that shouldn’t be the case… my internet was down before and i was  
still able to use [http://localhost:3000/store](http://localhost:3000/store)

could your word in the URL “index” be the problem?

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 18, 2007, 3:49pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/3 "2007-09-18T15:49:19Z")

</div>

Hello, you don’t need access to the internet to view your app on  
localhost unless the application has dependencies that are on an  
external network (like a remote database server, etc). After you run  
script server, make sure it is actually starting. Take a look at  
development.log in the log directory of your rails application and make  
sure there are no errors during startup. Just to make sure there is  
nothing missing in your hosts file, you can also try  
[http://127.0.0.1:3000/store/index](http://127.0.0.1:3000/store/index) . Good luck and I hope this helps you  
somehow.

Guo Y. wrote:

> hello:  
> I moved to a new place where i can not use internet.But i found i  
> can not run my web app in my browser. For example,when i input  
> "[http://localhost:3000/store/index](http://localhost:3000/store/index)"in the browser after running web  
> server:ruby script/server webrick,i can not see the result like previous  
> time when i can.If i want to run my web app in the browser, i must have  
> internet surppot?  
> Can you help me?  
> Thank you!

–  
Sincerely,

William P.

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 18, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/4 "2007-09-18T18:19:50Z")

</div>

Guo Y. wrote:

> Thank you !I fogot telling you that i use “instant rails” to develop  
> my web app.My problem is related to it?By the way ,my url is right,and i  
> have not someting depending on internet.If i use internet,i can view my  
> app,if not ,i can not.Why?

so your server started correctly? and then, could you have some “ad  
ware” that will always go to the internet to report your browser usage  
before getting the real content, so if you are not connected to the  
internet, the ad ware is stopping the browser.

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 18, 2007, 4:10pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/5 "2007-09-18T16:10:52Z")

</div>

Thank you !I fogot telling you that i use “instant rails” to develop  
my web app.My problem is related to it?By the way ,my url is right,and i  
have not someting depending on internet.If i use internet,i can view my  
app,if not ,i can not.Why?

William P. wrote:

> Hello, you don’t need access to the internet to view your app on  
> localhost unless the application has dependencies that are on an  
> external network (like a remote database server, etc). After you run  
> script server, make sure it is actually starting. Take a look at  
> development.log in the log directory of your rails application and make  
> sure there are no errors during startup. Just to make sure there is  
> nothing missing in your hosts file, you can also try  
> [http://127.0.0.1:3000/store/index](http://127.0.0.1:3000/store/index) . Good luck and I hope this helps you  
> somehow.
> 
> Guo Y. wrote:
> 
> > hello:  
> > I moved to a new place where i can not use internet.But i found i  
> > can not run my web app in my browser. For example,when i input  
> > "[http://localhost:3000/store/index](http://localhost:3000/store/index)"in the browser after running web  
> > server:ruby script/server webrick,i can not see the result like previous  
> > time when i can.If i want to run my web app in the browser, i must have  
> > internet surppot?  
> > Can you help me?  
> > Thank you!
> 
> –  
> Sincerely,
> 
> William P.

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 18, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/6 "2007-09-18T18:21:49Z")

</div>

SpringFlowers AutumnMoon wrote:

> Guo Y. wrote:
> 
> > Thank you !I fogot telling you that i use “instant rails” to develop  
> > my web app.My problem is related to it?By the way ,my url is right,and i  
> > have not someting depending on internet.If i use internet,i can view my  
> > app,if not ,i can not.Why?
> 
> so your server started correctly? and then, could you have some “ad  
> ware” that will always go to the internet to report your browser usage  
> before getting the real content, so if you are not connected to the  
> internet, the ad ware is stopping the browser.

if the ad ware is attached to your IE… then you can try firefox or  
safari, which is available on windows as a beta.

if you use mac, you can try firefox or opera.

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 19, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/7 "2007-09-19T15:14:35Z")

</div>

SpringFlowers AutumnMoon wrote:

> SpringFlowers AutumnMoon wrote:
> 
> > Guo Y. wrote:
> > 
> > > Thank you !I fogot telling you that i use “instant rails” to develop  
> > > my web app.My problem is related to it?By the way ,my url is right,and i  
> > > have not someting depending on internet.If i use internet,i can view my  
> > > app,if not ,i can not.Why?
> > 
> > so your server started correctly? and then, could you have some “ad  
> > ware” that will always go to the internet to report your browser usage  
> > before getting the real content, so if you are not connected to the  
> > internet, the ad ware is stopping the browser.
> 
> if the ad ware is attached to your IE… then you can try firefox or  
> safari, which is available on windows as a beta.
> 
> if you use mac, you can try firefox or opera.

Thank you!In fact,i also have firefox browser installed in my machine.I  
have the same result as IE which says something like:sorry,someting is  
wrong,we have notified to resolve this problem.How can i to do it?

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 20, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/8 "2007-09-20T22:50:50Z")

</div>

That Tingling Sensation … that is: the error message means, that  
your mongrel-server is working alright.

But:  
it’s the error message for an Application running in production-mode  
check the following:

- is the mysql server running ? is it listening on port 3306 on the  
localhost ?
- are you accessing the mysqlserver (look into database.yml) via the  
localhost or 127.0.0.1-address
- what error-messages are there in the production.log ?
- have you given the right permissions to the user that is described  
in database.yml ?
- is the phpmyadmin working within instantrails ? (should be  
[http://127.0.0.1/mysql](http://127.0.0.1/mysql) or something similar.

hope this confuses you less than it helps  
phil

On 19 Sep., 15:17, Guo Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [September 19, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/how-to-run-my-application-in-browser-without-web-connecting/114883/9 "2007-09-19T15:17:51Z")

</div>

> Thank you!In fact,i also have firefox browser installed in my machine.I  
> have the same result as IE which says something like:sorry,someting is  
> wrong,we have notified to resolve this problem.What is more,my web server started right.How can i to do it?
