Accessing Live Site Domain [closed] - ruby-on-rails

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
I cant access the live domain for the Rails 3 application i created on my macbook. I can obviously access localhost:3000 for testing purposes, but when i log on to my live domain http://truthpage.me it sends the request and eventually times out. Doesnt work in any browser on my machine only. We are hosting the app with heroku if that makes any difference. Do any of you guys have a solution to why this doesnt work? thank you for your time.

Try flushing your DNS cache:
$> dscacheutil -flushcache
Also, ensure there's nothing causing an unintentional redirection in your hosts file for that domain:
$> cat /private/etc/hosts

Is this working from other machines or locations? If this is working from other location then it may be some issue with your local ISP. If you recently changed DNS records then it can also be a DNS propagation issue. Sometimes, it takes 24 hours to propagate the DNS across the globe.

Related

Amazon EC2 instance(windows server) getting Timed

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 19 hours ago.
Improve this question
I have hosted a website in Windows Amazon EC2 instance,
I am able to browse the website locally in the server.
But when browsing from outside I am getting a timeout error.
Plz help
Below is the URL:
http://ec2-18-188-142-103.us-east-2.compute.amazonaws.com:3000/
Below is the screenshot of the error
Please change security group and add a inbound rule
Add protocol and set your custom IP

How can I get thin (the webserver) to be accessible outside of my home network? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I followed the simple instructions for installing the "thin" web server in my ruby application via: http://code.macournoyer.com/thin/
I can see that it is being called when I "start" it. However, while I am able to access the web server using "localhost". I would like to be able to access it using my ip address, or some other way - so that I can send a colleague that's not on my home network to my test app.
while I have fiddled around with some variables (port, host, etc) I am still missing something.
How can I access my thin server from outside of my home network?
Note: I do not have a firewall enabled. - Any thoughts on how to resolve this?
This is more of a network issue than a server setting issue.
You would probably need to set your router to redirect incoming accesses to your computer, how to do will vary from router to router.
In most cases there should be a menu in the router that lets you specify a port, and what internal IP address you want the request to be routed to, set that to your machines LAN IP address, and it should be good to go.
You will probably get a better answer at Server Fault or Super User.

Trouble launching my first Ruby on Rails application? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I have taken the entire set of code and put it on my server, but it doesn't work. The pages do not load following the URLs.
I want to launch my Ruby on Rails application on a hosted service like mochahost or godaddy.
Thanks
You have just copied all the files over and that's it? I'm sorry to tell you this but this is not PHP :-)
Rails uses an application server to handle requests. Your file structure is irrelevant to the request (that's what the config/routes.rb is for).
I guess you take a look at this page: RubyOnRails deployment
Further reading: Application server # wikipedia
If you are totally new to rails, I highly suggest using a service like Heroku over traditional shared hosting. I am not too far ahead of you in learning rails but I can say with 100% certainty that I would not want the added hassle of managing my own rails server environment at this stage.
Check out Michael Hartl's book if you haven't already. http://rails-4-0.railstutorial.org/book It will walk you through a Heroku setup and deployment.
Also, did I mention Heroku is free until you scale up? Perfect for learning!

How to stop a program using a port [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to use the port 12345 for hosting a server for an application I have, however the port is already in use by another program.
I have already tried:
netstat -anb
However, none of the programs listed use this port. Doing some research online I found out that Trend Micro Security uses this port. though I used to have this Anti-Virus software installed on my computer, I have long ago switched to Norton, and am still not able to use this port.
I use netgear, and have no problems using other ports.
Any help will be appreciated.
Mona.
NetGear has been known to have problems with port 12345. Try calling their support.
Belkin and Dlink work fine. So if possible, try changing your router to see if the problem goes away. If yes, then it is a router issue. If not, then contact your ISP since they block 12345 as well.

Mvc Facebook Application Debugging at localhost [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a mvc proj which is page of facebook application. I want to debug it in my localhost when ı call it from facebook. Is it possible ?
Yes, provide the Site_url/Cavas_url to http://localhost/yourapp/ and enable the sandbox mode
There are options for testing/debugging the application from localhost, specifically: site url and sandbox (yes/no). But changing these settings of an application that already is used in production will break the application in for your visitors.
A common method is to create multiple applications, where the amount depends on your development method. For example: one for development, one for testing and one for production. The development app will point to something like: localhost:8000, the test app will point to something like test.yourapplication.com and the development app will point to www.yourapplication.com.

Resources